Maths WorkshopMaths problems with full solutions
Exercise 530Combinatorics › Pigeonhole principleHigh schoolAdded 3 Nov 2026

Summary of pigeonhole techniques

#summary#pigeonhole#techniques

Statement

Summarize the key pigeonhole results.

Hint

Review the main applications.

Show solutionHide solution

Solution

Basic. n+1n+1 pigeons in nn holes ⇒\Rightarrow some hole has ≥2\ge2 pigeons.

Generalized. nn pigeons in kk holes ⇒\Rightarrow some hole has ≥⌈n/k⌉\ge\lceil n/k\rceil pigeons.

Key applications.
- Divisibility: among n+1n+1 integers, two have same residue mod nn.
- Consecutive integers: among n+1n+1 from {1,…,2n}\{1,\ldots,2n\}, two are consecutive.
- Divisibility chains: among n+1n+1 from {1,…,2n}\{1,\ldots,2n\}, one divides another.
- Subset sums: some block has sum divisible by nn.
- Geometry: 55 points in unit square ⇒\Rightarrow two within 2/2\sqrt2/2.
- Graph theory: any group has two people with the same number of friends; any graph has two vertices of the same degree.
- Ramsey: any 66 people contain 33 mutual friends or 33 mutual strangers.

Conclusion. Pigeonhole is one of the simplest yet most powerful combinatorial tools.