I have 18 distinguishable socks in my drawer: 8 white, 6 brown, and 4 blue. In how many ways can I choose a pair of socks, provided that I get two socks of the same color?
4 white&brown
4 white&blue
brown&brown
I hope this is good for you unless you need more (^O^) (^m^) ^﹏^
If you need more let me know ;P
Ways to choose 2 white = C(8,2) = 28
Ways to choose 2 brown = C(6,2) = 16
Ways to choose 2 blue = C(4,2) = 6
So
28 + 16 + 6 =
50 ways
6 choose 2 is actually 15, not 16, so the answer is 49