A drawer contains 10 black socks, 10 white socks, and 10 blue socks all mixed together in total darkness. What is the minimum number of socks you must pull out to guarantee you have at least one matching pair of any color?
4 socks
By the Pigeonhole Principle, with three possible colors (categories) and pulling 4 socks, you are guaranteed to have at least two socks of the same color, forming a matching pair.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Easy. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
You have 12 identical-looking coins, one of which is counterfeit and weighs slightly different (either lighter or heavier) than the other 11. On your first weighing using a balance scale, you place 4 coins on the left pan and 4 coins on the right pan, and the scale balances perfectly. What should your second weighing be to guarantee finding the fake coin in 3 total weighings?
A password consists of four distinct non-zero digits. The first digit is three times the last digit. The second digit is two more than the fourth digit. The third digit is the sum of the first and second digits. What is the password?
An island is inhabited solely by Knights (who always tell the truth) and Knaves (who always lie). You meet two residents, X and Y. X says: "At least one of us is a Knave." What are X and Y?
Four runners—W, X, Y, and Z—finished a race. W finished before X. Y finished after Z. X finished before Z. What was the exact finishing order from first to last?
Five friends line up for a ride at the fair, and the sign lists only these facts. Kira stands ahead of Boris. Carmen stands ahead of Elena. Elena stands ahead of Kira. Boris stands ahead of Aria. Who stands third in line?
The picnic basket is smaller than the flag, and the flag is smaller than the parade float. Which one is the biggest?

