Answer:
A proof can be as follows:
Step-by-step explanation:
Let [tex]S=\{a_{1},a_{2},...,a_{n},a_{n+1}\}[/tex] be a set of [tex]n+1[/tex] integers. By the division algorithm the possible remainders when we divide by [tex]n[/tex] are [tex]0,1,2,....,n-1[/tex]. Then, each integer [tex]a_{i}\in S[/tex] can be written as:
[tex]a_{i}=np_{i}+r_{i},\,\,0\leq r_{i} <n[/tex]
Observe that the set of remainders [tex]\{r_{1},r_{2},...,r_{n+1}\}[/tex] has [tex]n+1[/tex] elements and each element has [tex]n[/tex] possible values. By the Pigenhole principle at least two remainders have the same value. Suppose that this two elements are [tex]a_{i}, a_{j}[/tex]. Then,
[tex]\begin{array}{c}a_{i}=np_{i}+r\\a_{j}=np_{j}+r\end{array}[/tex]
Where [tex]r_{i}=r_{j}=r [/tex]. Then, [tex]a_{i}-a_{j}=np_{i}-np_{i}=n(p_{i}-p_{j})[/tex]. Then we have that [tex]n[/tex] divides [tex]a_{i}-a_{j}[/tex].