1. n|∑, the sum of a subset of n integers

Observe the useful divisibility definition: {n} divides {a} exactly when {a \equiv 0 \pmod n}.

From a set of {n} integers {\{x_i\}}, construct a set of {n} sums {y_i}:

{y_1 =x_1}
{y_m=y_{m-1}+x_m, 1<m \leq n}

If {y_i \equiv 0 \pmod n} for some {i}, {y_i} is a sum divisible by {n}, which was to be shown.

Else, we must have {y_k \equiv y_j \pmod n} for some {j<k}, either because the sums {y_i} are not unique {\pmod n} , or if they are so unique, because then there are {n} sums in {n-1} congruence classes (no {y_i \equiv 0 \pmod n}) and so Dirichlet’s Pigeonhole Principle will require it.

In either case, {y_k-y_j \equiv 0 \pmod n} implies {y_k-y_j = x_{j+1} + ... + x_k} is a sum divisible by {n}.
{\hfill \mbox{\raggedright \rule{.07in}{.1in}}}

Aside: I saw this in a problem-solving exercise book and its immediate appeal caused me to choose it as an example problem. Later, I found that Erdős also selected it for inclusion in ‘Proofs from THE BOOK’, which made me smile. The Pigeonhole Principle seems too obvious to be of much use, but it insinuates itself into a variety of proofs.

Note to students surfing the web to find answers to assigned problem sets: best not to copy my stuff; I am terrible at math.

Comments Welcome