An urn contains 20 balls colored each of the 7 colors of the rainbow (140 total balls). We select balls one-by-one without replacement. Given that in the first 70 draws we selected 5 more red balls than yellow, find the probability the 71st ball drawn is yellow.
My approach
Let us denote the event that the $71^{st}$ ball is yellow by $A$ and the event that there are 5 more red balls than yellow in the first 70 draws by $B$ We need to find
$$ \mathbb{P}(A | B) = \frac{\mathbb{P}(A, B)}{\mathbb{P}(B)} $$
To calculate $\mathbb{P}(B)$, we can make cases for the number of red balls that we see in our first 20 draws (can be between 0 to 15, both inclusive) and sum up the probabilities The procedure we follow to arrive at the expression is:
- Choose $r$ red balls out of 20
- Arrange them in $r$ out of the first 70 positions
- Choose $r+5$ yellow balls out of 20
- Arrange them in $r+5$ out of $70-r$ positions
- Choose $65-2r$ balls out of the remaining 100 balls of all colours and arrange them in the $65-2r$ positions in the first 70 draws
- Arrange the remaining 70 balls after filling the first 70 positions by the remaining 70 balls
To calculate $\mathbb{P}(A | B)$, I employ a similar procedure with the first 5 steps same.
- Choose one of the remaining $20-r$ balls and put it in the $71^{st}$ position
On doing so, the numerator and the denominator come out to be long summations of binomial coefficients which I couldn't evaluate.
My thoughts
Being a Quant interview question, I feel that brute force wouldn't be the way to proceed with this. Two facts which could be exploited but I don't know how are:
- The number of balls are equal for all the colours. Can symmetry be used somehow over here?
- 70 is half of 140. Is there one specific reason they've asked for 70 draws?
Any help, either with evaluating the summation in the brute-force approach or a smarter approach would be great. Thanks!