Let be the indicator random variable that coin shows a head. Each expectation is , so linearity of expectation gives the expected number of heads:
For the game, write for the probability that eventually holds all coins when starting with . The states are absorbing, so and . Conditioning on the first toss and using the law of total probability gives
Thus : successive differences are constant, and . The boundary values give , , hence the gambler's ruin answer is
For completeness, the game terminates with probability one. From any nonabsorbing state, a run of consecutive heads would reach within the next tosses, and that run has probability . Conditional on survival, the same bound applies to the next block. Therefore the probability of surviving tosses is at most , which tends to zero.

Articles by others on the same topic (0)

There are currently no matching articles.