I'm trying to approach this question using generating functions.
I set the problem up similar to a "toss $17$ balls into $9$ bins, what's the probability that no bin gets $6$ or balls in it." as the $9$ bins correlate to the $9$ possible places between tails that heads can occur in.
My generating function ended up like this:
$$(1-x^6)^9 \times (1/(1-x))^9 = 17$$
and this is where I sort of hit a dead end in my work. I assume we should solve for coefficients of $f(x)g(x)$, making sure they add up to $17$.
Starting this, I found that the only coefficients that were nonzero and under $17$ for $(1-x^6)^9$ would be $0, 6$, and $12$. But these are giving me some ugly numbers and I don't really know where to go from here, or how to calculate the probability at the end.
Could anybody give me some pointers on where to go from here?
I just ran a simple computer simulation and got $447,669$ "winners" out of $1,081,575$ cases which have exactly $8$ tails occurring (out of $25$ fair coin flips), so the probability is $41.39$%. I looped thru all $2^{25}$ = $33,554,432$ possible states of $25$ coin flips.