An urn contains 6 black balls and 0 white balls. One ball is drawn at random, taken out and replaced by a ball of the other color.
What is the expectation of the time (turns) until all 6 balls become white?
Progress
I'm thinking of calculating the expectation by definition but I can't get my hand on the exact Formula for $P(T=t)$ to put in the sigma. I have tried to find the pattern with $P(T=8)$ and $P(t=10)$ but I'm not sure about what I got.
Let the expected distance from the situation where you have $r$ white balls in the urn be $d(r)$.
If there are no white balls, then after one draw there will be one black ball, and having taken one turn, you have to reach $6$ white balls from the situation where you have one white ball in the urn.
$$d(0)=1+d(1)$$
With one ball in the urn, the next turn will take you back (probability $\frac 16$) or forwards (probability $\frac 56$). Don't forget you've taken another turn.
$$d(1)=1+\frac 16 d(0)+\frac 56 d(2)$$
Continuing on, and noting that $d(6)=0$ $$d(2)=1+\frac 13d(1)+\frac 23d(3)$$$$d(3)=1+\frac 12d(2)+\frac 12d(4)$$$$d(4)=1+\frac 23d(3)+\frac 13d(5)$$$$d(5)=1+\frac 56d(4)$$
You have six equations in six unknowns. These can be systematically solved.