Here is a question from my probability textbook:
A person draws cards one by one from a pack and replaces them till he has drawn two consecutive aces. How many cards may he expect to draw?
I'm not sure how to even begin this problem. Any hints (not complete solutions) in the correct direction would be well-appreciated.
There are many methods to solve this question. You can use Markov Chain or Martingale if you know them. The method that doesn't need any high level math is recursion. Try to figure out the meaning of the following graph.
Suppose the expected number you are seeking is $\mu$. Then
$$\mu = \frac{12}{13}(1+\mu)+\frac{12}{13^2}(2+\mu)+\frac{1}{13^2}\cdot 2$$