The first time a walk hits a level
Start a fair walk at and fix a level . The first passage time is the first step at which the walk stands on . It is a stopping time: you can tell whether from the first steps alone.
Take and count paths, writing U for a step up and D for a step down. The walk can only land on after an odd number of steps. It gets there at step 1 with U, probability . At step 3 it needs DUU, probability . At step 5 there are two paths, DUDUU and DDUUU, so . At step 7 there are five. The counts are the Catalan numbers, and in general
The reason is that the first steps must bring the walk back to without ever going above it, and the last step goes up. Catalan numbers count exactly those returns.
Adding the first four terms,
so after seven fair flips about 27% of walkers have never been ahead.