Mathematics (JEE)Very hardGATE CS · ISI

A walker stands on a cycle of 6 positions labelled 0 to 5. Each step moves to the next or previous position with probability 1/2 each, independently. What is the probability that the walker is back at position 0 after exactly 4 steps?

  1. A. 1/4
  2. B. 1/16
  3. C. 3/8
  4. D. 1/2

Correct answer: C. 3/8

After 4 steps the displacement is a sum of four +1/-1 values, lying in {-4, -2, 0, 2, 4}. It is 0 mod 6 only when the sum is 0, which happens for C(4,2) = 6 of the 16 sign patterns. So the probability is 6/16 = 3/8.

More Permutations, Combinations and Probability questions

Exams that ask this topic