Suppose I toss a fair coin 10 times. What is the probability that there is a run of at least 4 consecutive heads?
An approach would be to use the Principle of Inclusion-Exclusion on the events $E_i$ where 4 heads occur in positions $i,i+1,i+2,i+3$, where $1\leq i\leq 7$. But this results in a big calculation.
On the other hand, I found the generalization here, but I think for this problem (with small values $10$ and $4$) maybe there is an easier way to compute the desired value. What would be an easier way?