Mathematics (JEE)ModerateGATE CS · ICPC

A fair six-sided die is rolled 5 times. A run is a maximal block of consecutive equal values. What is the probability that the longest run has length exactly 2?

  1. A. 575/1296
  2. B. 671/1296
  3. C. 85/1296
  4. D. 125/1296

Correct answer: A. 575/1296

Enumerating all 6^5 = 7776 sequences, 3450 have longest run exactly 2, so the probability is 3450/7776 = 575/1296. Counting runs of length at least 2 instead gives 4026/7776.

More Permutations, Combinations and Probability questions

Exams that ask this topic