Find the probability that a person tossing 3 coins will get either all heads or all tails for the 2nd time on the 5th toss.
Typically people solve it like:
\begin{align}P &= (\textrm{Probability of getting HHH or TTT in first four trials}) \times (\textrm{probability of getting HHH or Success in the fifth trial})\\ &= { \binom{4}{1} (0.25)^1 (0.75)^3 } \times {0.25}\\ &= 0.1054\end{align}
But if I do Negative binomial with $r=2, ~x=5, ~p=0.25 ~= 0.08899.$
Why this is not treated as negative binomial since we are looking 2nd success on 5 trials? why its different? what understanding am i missing?