Engineering MathematicsVery hardGATE CSE

A walker on the integers 0, 1, …, 9 starts at 4. At each step it moves +1, −1 or stays put, each with probability 1/3. The walk stops on reaching 0 or 9. What is the expected number of steps until it stops?

  1. A. 20
  2. B. 24
  3. C. 45
  4. D. 30

Correct answer: D. 30

Expected steps for the plain symmetric walk are i(N−i) = 20; staying put 1/3 of the time stretches every move by 3/2, giving 20·(3/2) = 30.

More Engineering Mathematics (GATE) questions

Exams that ask this topic