MathDB
2014 BMT Team 17

Source:

January 6, 2022
combinatorics

Problem Statement

Suppose you started at the origin on the number line in a coin-flipping game. Every time you flip a heads, you move forward one step, otherwise you move back one step. However, there are walls at positions 88 and āˆ’8-8; if you are at these positions and your coin flip dictates that you should move past them, instead you must stay. What is the expected number of coin flips needed to have visited both walls?