Mathematics (JEE)Very hardTCS NQT · Accenture
A fair die is rolled repeatedly. What is the expected number of rolls until a 6 is immediately followed by another 6?
- A. 36
- B. 12
- C. 6
- D. 42
Correct answer: D. 42
Let E0 be the expected remaining rolls when the last roll was not a 6, and E1 when it was. Then E0 = 1 + (5/6)E0 + (1/6)E1 and E1 = 1 + (5/6)E0, which gives E0 = 42. The value 36 is 6^2 and ignores the need to restart after a non-6.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A fair die is rolled 3 times. What is the expected number of distinct values that appear among the 3 rolls?
- A fair die is rolled repeatedly. What is the expected number of rolls until a 1 is immediately followed by a 2?
- A fair coin is tossed repeatedly. What is the probability that the pattern HTH appears before the pattern HHH does?
- A standard 52-card deck with 4 aces is shuffled and cards are turned over one at a time. What is the expected number of cards turned over…
- Three distinct numbers are chosen uniformly at random from {1, 2, ..., 10}, with every 3-subset equally likely. What is the probability…
- Two fair dice are rolled. Given that the sum is even, what is the probability that the first die shows a strictly larger number than the…