MathCastle
Counting & ProbabilityHardExpected Value, Linearity & Advanced Probability

Expected Value, Linearity & Advanced Probability · Hard problem

A fair six-sided die is rolled repeatedly. Find the expected number of rolls until some value appears for the second time (i.e., the first repeated value).

The answer is a fraction mn\tfrac{m}{n} in lowest terms; find m+nm + n.