Inspired by this I started to generalize it. Go out from independent events $E_{1},E_{2},\cdots$ that succeed or fail. This with $p$ as probability of succes, and $p+q=1$.
Event $A_{m,n}$ occurs if among the first $n$ events there is a consecutive row of at least $m$ successes. Letting $K$ denote the smallest index of a failing event, we have $P\left(K=k\right)=p^{k-1}q$.
Looking at $P\left(A_{m,n}\mid K=k\right)$ it is easy to find that this probability equals $1$ if $k>m$ and equals $P\left(A_{m,n-k}\right)$ otherwise. So for $m\leq n$ we find:
$P\left(A_{m,n}\right)=\sum_{k=1}^{\infty}P\left(A_{m,n}\mid K=k\right)P\left(K=k\right)=\sum_{k=1}^{m}P\left(A_{m,n-k}\right)p^{k-1}q+p^{m}$.
Here $P\left(A_{m,n-k}\right):=0$ if $m>n-k$.
I thought that this would lead to some unfriendly polynomial in $p$, but working this out for $n=m,m+1,m+2,m+3,...,2m$ a pattern showed up, and with induction I could prove:
$P\left(A_{m,n}\right)=p^{m}\left(1+\left(n-m\right)q\right)$ if $m\leq n\leq 2m$
The fact that this is a neat formula pleases me, but also bothers me. Quite often it indicates that there is a shorter route. Do you know one?