Maths Olympiad Prep

Library / Belarus — Selection and Training Session /45 of 78

Belarus — Selection and Training Session

Number theory Difficulty 5.6 AIME, harder Prove it Belarus

Let p≥5p \ge 5 be a prime number. Prove that for each divisor d>2d > 2 of p−1p-1 it's possible to partition all integers between 11 and p−1p-1 into the sets with dd numbers in each in such a way that the sum of squares of all numbers of each set is divisible by pp.

(Mikhail Karpuk)

Solution

Denote the set of all residues modulo pp by Fp\mathbb{F}_p. Fermat's little theorem implies that the roots of the polynomial xp−1−1x^{p-1} - 1 are all nonzero elements of Fp\mathbb{F}_p. Since xp−1−1=(xd−1)(xd(m−1)+xd(m−2)+⋯+xd+1)x^{p-1} - 1 = (x^d - 1)(x^{d(m-1)} + x^{d(m-2)} + \dots + x^d + 1) where p−1=mdp-1 = md, the polynomial xd−1x^d - 1 divides xp−1−1x^{p-1} - 1. In this equality the sum of the degrees of the factors equals the number of roots, hence xd−1x^d - 1 has dd roots. Denote these roots a1,a2,…,ada_1, a_2, \dots, a_d.

Consider all polynomials of the form xd−Cx^d - C. If such polynomial has a root bb then it has dd roots a1b,a2b,…,adba_1b, a_2b, \dots, a_db and cannot have more roots than its degree, so it has exactly dd roots. On the other hand, each b∈Fp∖{0}b \in \mathbb{F}_p \setminus \{0\} is a root of such polynomial, namely xd−bdx^d - b^d. Therefore Fp∖{0}\mathbb{F}_p \setminus \{0\} is the disjoint union of mm sets, consisting of dd roots of some polynomial xd−Cx^d - C. Such partition satisfies the problem condition since by Vieta's theorem the sum of the roots and the sum of the pairwise products of the roots of xd−Cx^d - C are congruent to zero modulo pp, whence the sum of their squares is likewise congruent to zero.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

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