Given that "r" is a constant real number, I have a series that goes like this:
$$ r^1 + r^2 + r^3 ... $$
Is there a formula that can tell the sum of the first n elements? So basically a formula for calculating this sum:
$$ \sum_{k=1}^{n} r^k $$
Thanks for any help!