Observe the useful divisibility definition: divides exactly when .
From a set of integers , construct a set of sums :
If for some , is a sum divisible by , which was to be shown.
Else, we must have for some , either because the sums are not unique , or if they are so unique, because then there are sums in congruence classes (no ) and so Dirichlet’s Pigeonhole Principle will require it.
In either case, implies is a sum divisible by .
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.