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

More socks

#pigeonhole#socks#colors

Statement

A drawer has 1010 red, 1010 green, and 1010 blue socks. In darkness, how many socks must you draw to guarantee 33 of the same color?

Hint

There are 33 colors; to avoid 33 of a color, at most 22 of each.

Show solutionHide solution

Solution

Maximum without guarantee. 22 per color: 66 socks.

Guarantee. With 77 socks, by pigeonhole some color has ⌈7/3⌉=3\lceil 7/3\rceil=3.

Conclusion. 77 socks.