Word & Logic · Pigeonhole Principle

Matching Socks in a Pitch-Black Drawer

How many socks must you pull blindly from a mixed black-and-white drawer to guarantee one matching pair?

The Challenge Pigeonhole Principle

A dark drawer contains 10 loose black socks and 10 loose white socks. You cannot turn on a light. What is the MINIMUM number of socks you must pull out blindly to GUARANTEE having at least one matching pair?

Hint 1: Worst-case luck: what if your first two pulls give one black sock and one white sock?
Hint 2: Apply the Pigeonhole Principle across 2 color bins!
Full Solution: Just 3 socks! Even in the unluckiest case where your first two socks are 1 black and 1 white, the 3rd sock must match one of them—guaranteeing a matching pair.
Advertisement

Why This Puzzle Matters: Intuition vs. Proof

The Pigeonhole Principle states simply: if you place N+1 pigeons into N holes, at least one hole holds two pigeons. Despite its playful name, this principle underpins lossless data compression limits (no compressor can shrink every possible file) and hash collision proofs!

Takeaway Pattern for Similar Teasers

Pause before calculating blindly when reading paradoxes like Matching Socks in a Pitch-Black Drawer. Check hidden invariants, information asymmetries, and edge boundaries—the exact habits that turn tough riddles into clear insights.