Maths Olympiad Prep

Library / Mathematical Olympiad in Ukraine /24 of 27

Mathematical Olympiad in Ukraine

Number theory Difficulty 6.3 National Olympiad Prove it Ukraine

a) Consider the square of the numbers 11, 22, …\ldots, 20092009 written one after another in some random order as one number. Is it possible to obtain a perfect square of an integer in this way?

b) Consider the numbers 11, 22, …\ldots, 20092009 written one after another in some random order as one number. Is it possible to obtain a perfect square of an integer in this way?

Solution

a) Consider remainders of these squares divided by 33. In the big number which we have generated each square can be represented as k2⋅10nk^2 \cdot 10^n, and the big number is the sum of such terms. If k2≡l(mod3)k^2 \equiv l \pmod{3} then k2⋅10n≡l(mod3)k^2 \cdot 10^n \equiv l \pmod{3}. It is well-known that k2≡0(mod3)k^2 \equiv 0 \pmod{3} is equivalent to 3∣k3|k, and k2≡1(mod3)k^2 \equiv 1 \pmod{3} is equivalent to 3∤k3 \nmid k. There are 669669 numbers from 11 to 20092009 that are divisible by 33, and 13401340 there are not. As 1340≡2(mod3)1340 \equiv 2 \pmod{3} the remainder of the big number modulo 33 is 22, which is impossible for a perfect square, which completes the proof.

b) Consider remainders of these numbers divided by 99. In the big number which we have generated each number can be represented as k⋅10nk \cdot 10^n, and the big number is the sum of such terms. k≡l(mod9)k \equiv l \pmod{9} if and only if k⋅10n≡l(mod9)k \cdot 10^n \equiv l \pmod{9}. Thus we need to find the sum of the remainders which equals to the sum of all digits of the big number. If we break the number into the groups of nine 11, 22, …\ldots, 99; 1010, 1111, …\ldots, 1818; …\ldots, 19991999, 20002000, …\ldots, 20072007, then the sum of the numbers in each group is divisible by 99. The sum of the remaining numbers 20082008 and 20092009 is divisible by 33 but is not divisible by 99, which is impossible for a perfect square.

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

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.