How long does a random walk on a line last?
Asked at Jump Trading
A token sits at position on the integer line . Each second it steps left or right by one, each with probability . Positions and are absorbing walls: the walk stops the instant it reaches either.
What is the expected number of steps until the token hits a wall?