Number theoryDifficulty 4.5Prove itNMO Selection Tests for the Junior Balkan Mathematical Olympiad · Romania
Let n be a positive integer and consider the integers x1,x2,…,xn, y1,y2,…,yn such that
a) x1+x2+⋯+xn=y1+y2+⋯+yn=0;
b) x12+y12=x22+y22=⋯=xn2+yn2=0.
Prove that n is an even number.
This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.
Set a=x12+y12. If a is odd, the numbers xi and yi do not have the same parity, so xi+yi is odd. Since ∑(xi+yi)=0, it follows that n is even.
Suppose a=4k+2. Then xi and yi are both odd. The equality x1+x2+⋯+xn=0 implies n is even.
Finally, if a=4k, then xi and yi are even. The numbers ai=2xi and bi=2yi satisfy the initial conditions. Furthermore, a12+b12=4a. Repeating the argument for 4a instead of a, after a finite number of steps we end up in a previous case.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.