Engineering MathematicsVery hardGATE CS (PYQ pattern)

A symmetric simple random walk (±1 each with probability 1/2) starts at 0. What is the probability that its first return to 0 happens at step 10?

  1. A. 63/256
  2. B. 7/256
  3. C. 7/512
  4. D. 21/512

Correct answer: B. 7/256

First-return paths of length 2n: 2·Catalan(n − 1). For n = 5 that is 2·14 = 28 out of 2¹⁰ = 1024 paths, so 7/256. (63/256 = C(10,5)/2¹⁰ counts every path at 0 at step 10; forgetting the factor 2 for the sign gives 7/512.)

More Engineering Mathematics (GATE) questions

Exams that ask this topic