Maths Olympiad Prep

Library / /3 of 9

, 2013

Number theory Difficulty 5.9 AIME, harder Prove it Japan

Suppose two 20×1320 \times 13 rectangular grids consisting of 260260 small squares are given. We insert into each square box of the two grids, numbers 1,2,,2601, 2, \ldots, 260 in the following way:
* For the first grid, we start inserting numbers 1,2,,131, 2, \ldots, 13 into the boxes on the top row from left to right. Continue to insert numbers 14,15,,2614, 15, \ldots, 26 into the boxes on the second row from left to right. Keep on going until you finish inserting numbers 248,249,,260248, 249, \ldots, 260 from left to right into the boxes on the bottom row.
* For the second grid, we start inserting numbers 1,2,,201, 2, \ldots, 20 into the boxes on the right-most column from top to bottom. Continue to insert numbers 21,22,,4021, 22, \ldots, 40 into the boxes on the second column from the right from top to bottom. Keep on doing until you finish inserting numbers 241,242,,260241, 242, \ldots, 260 into the boxes on the left most column from top to bottom.

List all the positive integers which get inserted into the boxes located in the same position in the two grids in the two ways of distributing numbers described above.

Solutions — 2

Solution 1

8787, 174174

The number inserted into the box located on the ii-th row from the top and jj-th column from the left is given by 13(i1)+j13(i - 1) + j for the case of the first grid, and by 20(13j)+i20(13 - j) + i for the case of the second grid. If the same number goes into the boxes located at the same position in the two grids, we must have 13(i1)+j=20(13j)+i13(i - 1) + j = 20(13 - j) + i. Simplifying this identity, we get 12i+21j=27312i + 21j = 273. Since both 21j21j and 273273 are multiples of 77, we must have 12i12i to be a multiple of 77, which implies that ii must be a multiple of 77. From the fact that 1i201 \le i \le 20, it follows that we get i=7,14i = 7, 14. The corresponding values for jj are 99, 55, respectively, and we see by computing 13(i1)+j=20(13j)+i13(i - 1) + j = 20(13 - j) + i for these values of i,ji, j that 8787 and 174174 give the desired answer.

Solution 2

The number inserted into the box located on the ii-th row from the top and jj-th column from the left is given by 13(i1)+j13(i-1)+j for the case of the first grid, and by 20(13j)+i20(13-j)+i for the case of the second grid. If the same number goes into the boxes located at the same position in the two grids, we must have 13(i1)+j=20(13j)+i13(i-1)+j = 20(13-j)+i. Simplifying this identity, we get 12i+21j=27312i + 21j = 273. Since both 21j21j and 273273 are multiples of 77, we must have 12i12i to be a multiple of 77, which implies that ii must be a multiple of 77. From the fact that 1i201 \le i \le 20, it follows that we get i=7,14i=7, 14. The corresponding values for jj are 9,59, 5, respectively, and we see by computing 13(i1)+j=20(13j)+i13(i-1)+j = 20(13-j)+i for these values of i,ji, j that 8787 and 174174 give the desired answer.

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 and solution reproduced as published; topic and difficulty added by this site.