Maths Olympiad Prep

Library / /66 of 264

Number theory Difficulty 5.2 AIME, harder Prove it Romania

A positive integer NN has the digits 1,2,3,4,5,61, 2, 3, 4, 5, 6 and 77, so that each digit ii, i{1,2,3,4,5,6,7}i \in \{1, 2, 3, 4, 5, 6, 7\} occurs 4i4i times in the decimal representation of NN. Prove that NN is not a perfect square.

Solution

NN has 14=41 \cdot 4 = 4 digits equal to 11, 24=82 \cdot 4 = 8 digits equal to 22, \dots, 74=287 \cdot 4 = 28 digits equal to 77, so the sum of its digits equals S=4(12+22++72)=560S = 4(1^2 + 2^2 + \dots + 7^2) = 560. Since 560=3186+2560 = 3 \cdot 186 + 2, the number NN is not a square, and the remainder left by a perfect square upon division by 33 cannot be equal to 22.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.