If a biased coin is flipped $10$ times, how can I calculate the probability of NOT having more than $5$ runs? A run or group is the maximal sequence of consecutive flips that are all the same. For instance HTTHHH has a total of three runs.
There is a similar thread here but the offered solution is unclear. Thanks