Maths WorkshopMaths problems with full solutions
Exercise 1624Combinatorics › Counting principlesOlympiadAdded 3 Nov 2026

Pigeonhole with 100 numbers

#pigeonhole#subsets#olympiad

Statement

Show that among any n+1n+1 integers from {1,…,2n}\{1,\ldots,2n\}, one divides another.

Hint

Write each number as 2k⋅m2^k\cdot m with mm odd. There are only nn odd numbers ≤2n\le 2n.

Show solutionHide solution

Solution

Setup. Every integer x≤2nx\le2n has a unique form x=2k⋅mx=2^k\cdot m with mm odd, 1≤m≤2n1\le m\le2n.

Odd parts. There are nn odd integers in {1,…,2n}\{1,\ldots,2n\}.

Pigeonhole. Among n+1n+1 chosen integers, two have the same odd part mm: say 2am2^a m and 2bm2^b m with a<ba<b. Then 2am∣2bm2^am\mid2^bm.

Conclusion. One divides another.