Maths Olympiad Prep

Library / /2 of 15

Number theory Difficulty 4.5 AIME Prove it Romania

Let nn be a positive integer and consider the integers x1,x2,,xnx_1, x_2, \dots, x_n, y1,y2,,yny_1, y_2, \dots, y_n such that

a) x1+x2++xn=y1+y2++yn=0x_1 + x_2 + \dots + x_n = y_1 + y_2 + \dots + y_n = 0;

b) x12+y12=x22+y22==xn2+yn2=0x_1^2 + y_1^2 = x_2^2 + y_2^2 = \dots = x_n^2 + y_n^2 = 0.

Prove that nn is an even number.

Solution

Set a=x12+y12a = x_1^2 + y_1^2. If aa is odd, the numbers xix_i and yiy_i do not have the same parity, so xi+yix_i + y_i is odd. Since (xi+yi)=0\sum (x_i + y_i) = 0, it follows that nn is even.

Suppose a=4k+2a = 4k+2. Then xix_i and yiy_i are both odd. The equality x1+x2++xn=0x_1+x_2+\dots+x_n = 0 implies nn is even.

Finally, if a=4ka = 4k, then xix_i and yiy_i are even. The numbers ai=xi2a_i = \frac{x_i}{2} and bi=yi2b_i = \frac{y_i}{2} satisfy the initial conditions. Furthermore, a12+b12=a4a_1^2 + b_1^2 = \frac{a}{4}. Repeating the argument for a4\frac{a}{4} instead of aa, after a finite number of steps we end up in a previous case.

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 and solution reproduced as published; topic and difficulty added by this site.