What is the expected number of fair coin flips needed to get two consecutive heads?
Enter a number
Show solution
Let E be the expected flips from the start, and EH be the expected additional flips after one head. From the start: E=21(1+E)+21(1+EH). After one head: EH=21(1)+21(1+E). Solving: EH=1+2E, and substituting gives 4E=23, so E=6.