Maths Olympiad Prep

Library / /404 of 520

Number theory Difficulty 5.7 AIME, harder Prove it

Example 2 Let pp be a prime, and a1,a2,,apa_{1}, a_{2}, \cdots, a_{p} be integers.
Prove: There exists an integer kk, such that a1+k,a2+2k,,ap+pka_{1}+k, a_{2}+2 k, \cdots, a_{p}+p k
have at least p2\frac{p}{2} different remainders when divided by pp.

Solution

【Analysis】From the perspective of combinations (graph theory).
For k=0,1,,p1k=0,1, \cdots, p-1, define the graph GkG_{k}: its vertex set is {1,2,,p}\{1,2, \cdots, p\}, and vertices i,ji, j are connected by an edge if and only if ai+ikaj+jk(modp)a_{i}+i k \equiv a_{j}+j k(\bmod p).
Notice that, for a given iji \neq j, we have
(ij,p)=1(i-j, p)=1.
Thus, there exists a unique k{0,1,,p1}k \in\{0,1, \cdots, p-1\} such that
k(ij)ajai(modp)k(i-j) \equiv a_{j}-a_{i}(\bmod p).
Therefore, the graphs G0,G1,,Gp1G_{0}, G_{1}, \cdots, G_{p-1} have a total of Cp2\mathrm{C}_{p}^{2} edges.
If pp is an odd prime, then by the pigeonhole principle, there must exist a graph GkG_{k} with at most 1pCp2=p12\frac{1}{p} \mathrm{C}_{p}^{2}=\frac{p-1}{2} edges.

Since a connected graph with nn vertices has at least n1n-1 edges, the graph GkG_{k} must have at least p1pCp2=p+12p-\frac{1}{p} \mathrm{C}_{p}^{2}=\frac{p+1}{2} connected components.
Let [x][x] denote the greatest integer not exceeding the real number xx.
If p=2p=2, then there must exist a graph GkG_{k} with at most [12C22]=0\left[\frac{1}{2} \mathrm{C}_{2}^{2}\right]=0 edges (i.e., no edges). Thus, the graph GkG_{k} must have at least 2 connected components.

In summary, for any case, there exists a graph GkG_{k} with at least 2 connected components, which indicates that there exists an integer kk such that a1+k,a2+2k,,ap+pka_{1}+k, a_{2}+2 k, \cdots, a_{p}+p k have at least p2\frac{p}{2} distinct remainders when divided by pp.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.