Browse · MathNet
PrintCzech-Polish-Slovak Match
number theory
Problem
Prove that for every non-negative integer there exist integers with , such that
Solution
We will use the following algebraic formula: This means that if a positive integer can be represented as a sum of 3 squares, then so can its square. Consequently, if we put then by a trivial induction we obtain that . It remains to show that for all and we proceed by induction. Suppose , but have some common prime divisor . Observe that since is odd, but and are even, we have that is odd, so . Hence and . Then either , or and . In the latter case we could infer from that in fact also , which contradicts the assumption that . Hence we are left with the first case: . Since and , we also have that . Hence in fact . But the only quadratic residues modulo 3 are 0 and 1, so the two possibilities for a sum of three squares to be divisible by 3 is that either all or none of them is divisible by 3. The former case is excluded by the assumption that and the latter by . That's all. □
Techniques
Techniques: modulo, size analysis, order analysis, inequalities