In an exercise involving probabilty, in which $p=1-q$, and $v$ is a given positive integer I try to show that
$\displaystyle \sum_{n=0}^{+\infty} t^v p^v (1-p)^{n-v} \sum_{k=0}^{v-1}\binom{n-v-1}{k}\left(\frac{p}{q}\right)^k=\frac{p^vt^v(1-pt)}{1-t+p^vqt^{v+1}}$.
I think that if I'm able to give a simplified expression of $\displaystyle\sum_{k=0}^{v-1}\binom{n-v-1}{k}\left(\frac{p}{q}\right)^k$ it could help. Any idea ?
This series gives the law of the variable giving the number of independent Bernoulli experiments needed to obtain $v$ successive favorable outcomes.
If $p/q=x$, Mathematica gives: $$(1 + x)^{-1-v} ((1 + x)^ n - (1 + x) (x (1 + x))^ v{-1 + n - v \choose v} Hyper_2F_1[1 - n + 2 v, 1, 1 + v, -x])$$