2018 AIME II Problems/Problem 13
Misha rolls a standard, fair six-sided die until she rolls 1-2-3 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 .
Call the probability you win on a certain toss , where is the toss number. Obviously, since the sequence has length 3, and . Additionally, . We can call this value , to keep our further equations looking clean. We can now write our general form for as . This factors the probability of the last 3 rolls being 1-2-3, and the important probability that the sequence has not been rolled in the past (because then the game would already be over). Note that since you'll win at some point. An intermediate step here is figuring out . This is equal to . Adding up all the differences, i.e. will give us the amount by which the odds probability exceeds the even probability. Since they sum to 1, that means the odds probability will be half of the difference above one-half. Subbing in our earlier result from the intermediate step, the odd probability is equal to . Another way to find the odd probability is simply summing it up, which turns out to be . Note the infinite sums in both expressions are equal; let's call it . Equating them gives , or . Finally, substituting , we find that , giving us a final answer of . --DanDan0101
Solution 2 (Recursion)
Let be the number of strings of length containing the digits through that do not contain the string . Then we have because we can add any digit to end of a string with length but we have to subtract all the strings that end in . We rewrite this as We wish to compute since the last three rolls are for the game to end. Summing over the recursion, we obtain Now shift the indices so that the inside term is the same: Note that and . Therefore, Solving for , we obtain . -Vfire
|2018 AIME II (Problems • Answer Key • Resources)|
|1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15|
|All AIME Problems and Solutions|