IMO 2001 Q4 #
Let $n > 1$ be an odd integer and let $c_1, c_2, \dots, c_n$ be integers. For each permutation $a = (a_1, a_2, \dots, a_n)$ of $\{1, 2, \dots, n\}$, define $S(a) = \sum_{i=1}^n c_i a_i$. Prove that there exist two permutations $a ≠ b$ of $\{1, 2, \dots, n\}$ such that $n!$ is a divisor of $S(a) - S(b)$.
Solution #
Suppose for contradiction that all the $S(a)$ have distinct residues modulo $n!$, then $$\sum_{i=0}^{n!-1} i ≡ \sum_a S(a) = \sum_i c_i \sum_a a_i = (n-1)! \frac{n(n+1)}2 \sum_i c_i$$ $$= n! \frac{n+1}2 \sum_i c_i ≡ 0 \bmod n$$ where the last equality relies on $n$ being odd. But $\sum_{i=0}^{n!-1} i = \frac{n!(n!-1)}2$ is not divisible by $n!$, since the quotient is $\frac{n!-1}2$ and $n!$ is even when $n > 1$.
Assuming the opposite of what is to be proved, the sum of S
over all permutations is
congruent to the sum of all residues modulo n!
, i.e. n! * (n! - 1) / 2
.