Skip to main content
OlympiadHQ

Browse · MathNet

Print

Estonian Mathematical Olympiad

Estonia number theory

Problem

Call a number interesting if it can be represented as the sum of squares of three distinct non-negative integers. For example, the number is interesting, because . Call a number special if it is not interesting, but can be represented as the product of two distinct interesting numbers.

a. Find one special number.

b. Prove that there are infinitely many special numbers.
Solution
The factorisation , where one of the numbers and is always even, shows that the square of any odd number gives a remainder of upon division by . The square of an even number not divisible by gives a remainder of and the square of an even number divisible by gives a remainder of . Thus the only possible remainders of squares modulo are , and .

Therefore the sum of squares of three odd numbers gives a remainder of modulo . The sum of squares of one number divisible by , one number divisible by , but not by , and one odd number gives a remainder of . Thus there are infinitely many interesting numbers giving remainders and modulo , and therefore also infinitely many products of distinct interesting numbers with a remainder of . These numbers are indeed special, as three numbers with remainders of , or cannot add up to a remainder of modulo .

The smallest example is obtained by choosing the interesting numbers and , whose product is .
Final answer
One example is 175. There are infinitely many special numbers.

Techniques

Modular Arithmetic