第 541 题:(2018 AIME II, 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 $\dfrac{m}{n}$ where $m$ and $n$ are relatively prime positive integers. Find $m+n$.
- States: $0$ (no progress), $1$ (last roll $1$), $2$ (last rolls $1,2$). Let $o_s$ be the probability that, from state $s$, the number of further rolls is odd; an even number has probability $1-o_s$.
- $o_0=\frac56(1-o_0)+\frac16(1-o_1)$, $o_1=\frac46(1-o_0)+\frac16(1-o_1)+\frac16(1-o_2)$, $o_2=\frac46(1-o_0)+\frac16(1-o_1)+\frac16$.
- Solving, $o_0=\frac{216}{431}$, so $m+n=647$. The answer is $\boxed{647}$.
Misha rolls a standard, fair six-sided die until she rolls 1-2-1 in that order on three consecutive rolls. The probability that she will roll the die an odd number of times is $\dfrac{m}{n}$ where $m$ and $n$ are relatively prime positive integers. Find $m+n$.