Maths Olympiad Prep

Library / /1 of 19

, 2002

Number theory Difficulty 7.4 National Olympiad, round 2 Prove it Germany

One is to determine the number of all numbers of the form x2+y2x^{2}+y^{2} (x,y{1,2,3,,1000}x, y \in \{1,2,3, \ldots, 1000\}) that are divisible by 121.

Solution

The remainders that a square number can have upon division by 11 are 0, 1, 4, 9, 5 and 3. But since, apart from zero, no complementary remainders modulo 11 occur, both x2x^{2} and y2y^{2}, and consequently also xx and yy, must be divisible by 11.

Among the numbers from 1 to 1000 there are exactly [1000/11]=90[1000/11] = 90 multiples of 11. Accordingly there are at most 9089/2=400590 \cdot 89 / 2 = 4005 numbers of the form x2+y2x^{2}+y^{2} with xyx \neq y that are divisible by 121, and exactly 90 numbers of the form x2+x2x^{2}+x^{2} divisible by 121. Consequently there can be at most 4095 numbers of the stated form. Their number is, however, smaller, since there are many numbers that admit different representations as a sum of two squares. Unfortunately the problem setter had not taken this into account when formulating the problem. All the more gratifying was the fact that some participants supplied very interesting approaches to a solution.

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