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

Pigeonhole with numbers

#pigeonhole#numbers#residue

Statement

Show that among any n+1n+1 integers, two have the same remainder upon division by nn.

Hint

There are nn possible remainders.

Show solutionHide solution

Solution

Remainders. {0,1,…,n−1}\{0,1,\ldots,n-1\}: nn possibilities.

Pigeonhole. n+1n+1 integers, nn remainders: two share the same remainder.

Conclusion. They differ by a multiple of nn.