I have a simple series of the form:
$n+q(n-1)+q^2(n-2)+q^3(n-3)+q^4(n-4)...q^{n-1}$
Where $n$ is in the natural numbers, $q$ is a probability between $[0,1]$. I was wondering if there is some way to present this sum elegantly. I assume that two terms are needed.
I think this question is similar to this thread but not quite the same, I'm under the impression the answer is much more complicated...
Let $$F_n(q)=n+q(n-1)+\cdots +q^{n-1}$$
Note: that's what I believe you intended.
Then $$F_n(q)-qF_n(q)=n-q-q^2-\cdots -q^n$$
Now, $$q+q^2+\cdots q^n=q\times (1+q+\cdots +q^{n-1})$$ and the term in parentheses is a standard Geometric Series. Specifically, $$1+q+\cdots +q^{n-1}=\frac {q^n-1}{q-1}$$
It follows that $$F_n(q)=\frac 1{1-q}\times \left( n-q\times \frac {q^n-1}{q-1}\right)$$