I want to calculate the probability of getting a sequence of (at least) $r$ consecutive successes in $n \ge r$ Bernoulli trials (probability = $p$). To make my definition of $r$ consecutive successes clear, consider the following sequence:
$$S\, S\, S\, S\, F\, S\, S\, S\, S\, S\, S\, F$$
Assuming $r=3$, in the above sequence, there is no consecutive sequence of 3 successes, but there is a sequence of 4 successes and a sequence of 6 successes. More precisely, a sequence of $r$ consecutive successes can have $3$ forms:
$$\underbrace{S\cdots S}_{r}\,F \qquad F\,\underbrace{S\cdots S}_{r}\,F \qquad F\,\underbrace{S\cdots S}_{r}.$$
Note that in certain definitions the sequence $F\, S\, S\, S\, S\, S\, S\, F$ could contain two sequences of $3$ successes and three of $2$ successes, but not in my case. I am making this distinction so as not to "count" the same sequence more than once.
The probability I want to calculate is the sum of the probabilities of having a consecutive sequence of sizes $r, r+1, r+2, \cdots, n$. That's why I used the term "at least".
First I thought of using the formula presented in Feller on p. 325 of An Introduction to Probability Theory and Its Applications, equation 7.11, which can also be found in this answer. Looking at the definition he uses of sequence of successes, presented on page 305, I don't know if it fits what I'm looking for.
I also thought about Muselli's article Simple Expressions for Success Run Distributions in Bernoulli Trials, which at first I thought calculated the same probability as Feller's equation, but when calculated in some cases they are not the same, in addition to having some strange behaviors for different values of $p$.
Consider $p = 0.5, n=5, k=2$ and $x=1$ in the equation in the article, we obtain a probability of $0.5625$, but in the book it is $1-q_5 = 0.59375$. So, other than a reference for calculating probability, what would be the difference between the article and the book?