Mathematics (JEE)Very hardGATE CS · ICPC
A fair die is rolled repeatedly. What is the expected number of rolls until three 6s appear in a row?
- A. 216
- B. 258
- C. 252
- D. 42
Correct answer: B. 258
Let the state be the current run of 6s (0, 1 or 2). The expected wait is 6 + 6^2 + 6^3 = 6 + 36 + 216 = 258, since each partial run of 6s is lost on any other roll.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- Three cards are dealt one after another from a standard 52-card deck without replacement. Given that the first two cards are both…
- A disease affects 1 in 10 people. A test has sensitivity 4/5 (it is positive for 80% of sick people) and specificity 9/10 (it is negative…
- A permutation of 1 to 4 is chosen uniformly at random from all 24 orderings. What is the probability that exactly one number stays in its…
- A word of length 4 is formed by choosing each letter independently and uniformly from {a, b}. What is the probability that the word…
- Three balls are placed independently and uniformly at random into 4 distinct boxes. What is the expected number of non-empty boxes?
- A simple symmetric random walk starts at 0 and takes 6 steps, each +1 or -1 with probability 1/2 independently. What is the probability…