Maths Olympiad Prep

Track / Stage 4 / 88 of 340 #828 of 2444

Problem 828

AMC 12 late, AIME early
Number theory Difficulty 4.5 Prove it NMO Selection Tests for the Junior Balkan Mathematical Olympiad · 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.

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.

Next problem →

Official 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.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.