We flip a coin until a taild or five heads in a row occur. What is the number of expected flips?
I have tried to solve this by first defining 2 random variables:
X which is
1/2 if head and
1/2 if tail. Then I build the distribution table for this random variable. I don't know exactly how to define the second radom variable.
How would you approach this problem?