Maths WorkshopMaths problems with full solutions
Exercise 1092Combinatorics › Pigeonhole principleL1Added 3 Nov 2026

Consecutive integers whose sum is divisible

#pigeonhole#consecutive sum#divisible

Statement

Show that among any nn consecutive integers, one is divisible by nn.

Hint

Residues are 0,1,…,n−10,1,\ldots,n-1 — exactly one of each.

Show solutionHide solution

Solution

Residues. In any nn consecutive integers, the residues mod nn are {0,1,…,n−1}\{0,1,\ldots,n-1\} in some order (all distinct, exactly nn values).

Conclusion. Exactly one has residue 00, so is divisible by nn.