Maths Olympiad Prep

Library / /4 of 4

Number theory Difficulty 6.6 National Olympiad Prove it Italy

Problem:

Given an m×nm \times n grid (m,n1m, n \geq 1) a token is placed at the center of each cell and one at each vertex of the grid (in the example shown alongside with n=4n=4 and m=3m=3, 32 tokens are placed).

a. Find all tables that have exactly 500 tokens.

b. Prove that there exist infinitely many positive integers kk such that there exist no grids with exactly kk tokens.

Figure 1

Solution

Solution:

Given an m×nm \times n grid, the number of tokens placed on the vertices of the grid is (m+1)(n+1)(m+1)(n+1), while the number of tokens placed at the center of each cell is mnm n, so that the total number of tokens is
N=2mn+m+n+1. N = 2 m n + m + n + 1.
We observe that
2N1=4mn+2m+2n+1=(2m+1)(2n+1). 2N - 1 = 4 m n + 2 m + 2 n + 1 = (2m + 1)(2n + 1).
Since m1m \geq 1 and n1n \geq 1, we have 2m+132m + 1 \geq 3 and 2n+132n + 1 \geq 3; and hence we deduce that the solutions correspond to the decompositions of 2N12N - 1 as a product of two odd numbers greater than 1. If N=500N = 500, 2N1=999=33372N - 1 = 999 = 3^3 \cdot 37, such decompositions are
N=3333=9111=2737=3727=1119=3333 N = 3 \cdot 333 = 9 \cdot 111 = 27 \cdot 37 = 37 \cdot 27 = 111 \cdot 9 = 333 \cdot 3
and therefore the pairs of numbers (m,n)(m, n) relating to question (a) are the following:
(1,166), (4,55), (13,18), (18,13), (55,4), (166,1) (1,166),\ (4,55),\ (13,18),\ (18,13),\ (55,4),\ (166,1)
To answer question (b), we show that, if 2N12N - 1 is prime, then there exist no grids with exactly NN tokens. Indeed a prime number cannot be written as a product of two integers both greater than 1.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from it; metadata (topic, difficulty) added by this project.