2018 AIME II Problem 13
Problem 13 of 15HarderAlgebraNumber TheoryProbability & Statistics
Misha rolls a standard, fair six-sided die until she rolls -- in that order on three consecutive rolls. The probability that she will roll the die an odd number of times is where and are relatively prime positive integers. Find
Your answer
Integer from 0 to 999
Show solution
Solution
Let be the probability that the total number of rolls is odd; let be that probability given that the first roll is a and given that the first two rolls are - (in each case counting all rolls). Condition on the next roll, noting that whenever the count restarts, the rolls already used flip the required parity. Starting fresh: a leads to state anything else uses one roll, after which an even continuation is needed. After a another means the first roll is wasted, needing an even continuation of the -type; a leads to anything else wastes both rolls. After - a finishes in rolls (odd); a restarts at the -state with two wasted rolls; anything else wastes all three. Thus
The first equation gives substituting the third into the second yields so giving and Since is prime,
Tagged: recursive probability · dice (probability) · parity · system of equations