Exercise 1816Combinatorics › Pigeonhole principleOlympiadAdded 3 Nov 2026
A triple summing to a multiple
#pigeonhole#triple#multiple
Statement
Show that among any integers, there are whose sum is divisible by .
Hint
Use the pigeonhole principle on partial sums, or an Erdős–Ginzburg–Ziv type argument.
Show solutionHide solution
Solution
Special case . Among integers, three have sum divisible by ? That's EGZ for , needing integers.
For general . EGZ theorem states: any integers contain whose sum is divisible by . This is a deep theorem (Erdős–Ginzburg–Ziv), proved via the Cauchy–Davenport theorem.
Conclusion. EGZ theorem: integers contain summing to a multiple of .