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

Consecutive integers

#pigeonhole#consecutive integers#pairs

Statement

Show that among any n+1n+1 integers from {1,…,2n}\{1,\ldots,2n\}, two are consecutive.

Hint

Group the integers into pairs (1,2),(3,4),…,(2n−1,2n)(1,2),(3,4),\ldots,(2n-1,2n).

Show solutionHide solution

Solution

Grouping. There are nn pairs covering {1,…,2n}\{1,\ldots,2n\}.

Pigeonhole. With n+1n+1 integers and nn pairs, some pair contains at least 22 chosen integers.

Conclusion. Two of them are consecutive.