(See attached file for full problem description)
A coin shows heads with probabilityp. Let X_n be the number of flips required to obtain a run of n consecutive heads. Show that the expected value is
Please see the attached file for detailed solution.
Below is the problem with the solution. I don’t quite understand the solution. So I need help simplifying the process:
…
The solution shows detailed calculation of the expected value of flips to have n consecutive heads.