Repainting balls to one color

A box has nn balls, each a different color. Repeatedly draw a random ordered pair of balls, repaint the first to match the second, and return both. Continue until all balls share one color. For n=5n = 5, find the expected number of steps. (This system reduces to a symmetric random walk - you must identify its absorbing barriers to solve it.)

Show hints (2)+
  1. Track how many balls share one color - it is a symmetric random walk absorbing at 00 and nn.
  2. Expected absorption time works out to (n−1)2(n-1)^2; then set n=5n=5.

Answer

Reveal answer →

16

Create a free account to see the full worked solution and track your progress.

Interview format: Systematic & Data-Driven Trading

Related questions