Sock Drawer removal probability

1k Views Asked by At

I have 30 socks in my drawer, and they vary in colour, I have 12 Black, 10 Blue, 2 Brown, and 6 grey socks. If I close my eyes and pull socks out at random, how many socks must I pull out before I can be certain to have a matching pair? I know there are similar questions but I need to know the method in how you obtain the answer or formula if that is what is required. Thank you in advance.

1

There are 1 best solutions below

3
On

The problem you've described actually isn't probability but an application of the pigeonhole principle:

In worst case, you pull out one of each color, so the 5th sock much match one of the others.