Skip to main content

2004 AIME II Problem 2

Problem 2 of 15EasierCombinatoricsProbability & StatisticsProblem-Solving Techniques

A jar has 1010 red candies and 1010 blue candies. Terry picks two candies at random, then Mary picks two of the remaining candies at random. Given that the probability that they get the same color combination, irrespective of order, is mn,\frac{m}{n}, where mm and nn are relatively prime positive integers, find m+n.m + n.

Your answer

Integer from 0 to 999
Show solution

Solution

The combinations match exactly when both draw two reds, both draw two blues, or both draw one candy of each color. The probability that Terry draws two reds is (102)(202)=45190=938,\frac{\binom{10}{2}}{\binom{20}{2}} = \frac{45}{190} = \frac{9}{38}, after which 88 reds and 1010 blues remain, so Mary draws two reds with probability (82)(182)=28153.\frac{\binom{8}{2}}{\binom{18}{2}} = \frac{28}{153}. That case has probability 938⋅28153=14323,\frac{9}{38} \cdot \frac{28}{153} = \frac{14}{323}, and by symmetry two blues each is also 14323.\frac{14}{323}. For mixed draws, Terry succeeds with probability 10⋅10(202)=1019,\frac{10 \cdot 10}{\binom{20}{2}} = \frac{10}{19}, leaving 99 of each color, and Mary with probability 9⋅9(182)=917,\frac{9 \cdot 9}{\binom{18}{2}} = \frac{9}{17}, for 1019⋅917=90323.\frac{10}{19} \cdot \frac{9}{17} = \frac{90}{323}. The total is 14+14+90323=118323.\frac{14 + 14 + 90}{323} = \frac{118}{323}. Since 118=2⋅59118 = 2 \cdot 59 and 323=17⋅19,323 = 17 \cdot 19, the fraction is in lowest terms, and m+n=118+323=441.m + n = 118 + 323 = 441.
AoPS wiki

Tagged: sampling without replacement · combinations · casework

More practice