Exercise 260Combinatorics › Pigeonhole principleHigh schoolAdded 3 Nov 2026
Socks in the dark
#pigeonhole#socks#drawers
Statement
A drawer contains black socks and white socks. In total darkness, how many socks must you pick to be sure of getting a matching pair?
Hint
There are colors ("holes"). How many socks guarantee of the same color?
Show solutionHide solution
Solution
Pigeonhole. colors, so picking socks forces two of the same color.
Conclusion. socks are enough to guarantee a matching pair (in the worst case).