Suppose there are $n$ prisoners, and each day every prisoner independently has a probability $p$ of escaping. What is the expected length of time before all prisoners have escaped?
Someone asked me this question a while back, and I thought it would be relatively straightforward, but so far I've been struggling to find a solution.
My initial approaches have been with setting up recurrences, but I've been unable to arrive at something solvable (at least by methods I know). I was also told there were many ways to solve the problem, so seeing other approaches would be interesting.