Engineering MathematicsModerateGATE CS (PYQ pattern)

A fair die is rolled repeatedly until either a 6 or an odd number appears. Given that it stops on a 6, what is the expected number of rolls?

  1. A. 3/2
  2. B. 2
  3. C. 6
  4. D. 4/3

Correct answer: A. 3/2

Each roll is a 'continue' (2 or 4) with probability 1/3, a stop on 6 with 1/6, and a stop on odd with 1/2. P(N = k and stop on 6) = (1/3)^(k−1)(1/6), total 1/4; E[N | 6] = (2/3)Σ k(1/3)^(k−1) = (2/3)(9/4) = 3/2.

More Engineering Mathematics (GATE) questions

Exams that ask this topic