A jar holds 10 red, 20 blue, and 30 green candies. You draw them one by one in random order. What is the probability that at least one blue and at least one green candy remain in the jar at the moment you draw the last red?
Reveal solutionHide solution
#Rephrase as an order
At least one blue and one green remain after the last red exactly when the last red is drawn before the last blue and before the last green. So I only care about how the last candy of each colour is ordered, which I reach by conditioning on the colour that finishes the whole sequence of 60.
#Condition on the final candy
The very last candy is blue with probability , green with , and red with .
If it is blue, the last red already beats the last blue, and I only need the last red before the last green. Among the 10 reds and 30 greens, the last of those 40 is green with probability .
If it is green, by the same reasoning I need the last red before the last blue, which among the 10 reds and 20 blues happens with probability .
If it is red, the jar is already empty, so I lose.