← RoseCode

ROSECODE 109

Balls and Boxes

elasolova · Probability ·

A box contains r red balls and b blue balls. Balls are removed sequentially from the box (without replacement). What is the expected number of balls left in the box at the first instant at which all the remaining balls are of the same colour?

Give your answer in closed form and simplify as much as you can, use paranthesis where needed. After simplification, there will be a few possible answers depending on ordering of the terms and only one will be accepted so try all.