Yup, that's the sum of the first
n terms in a http://en.wikipedia.org/wiki/Geometric_progression" (abbr:
GP) (or you can call it
Geometric Sequence).
The Geometric Sequence is a sequence, in which, the later (following) terms is formed by multiplying the former (previous) term by a
constant r (call
common ratio).
An example of a Geometric Progression is
- 2; 4; 8; 16; ... (common ratio r = 2).
- -1; 3; -9; 27; ... (common ratio r = -3).
So, the terms of a GP can be written as:
a;
ar;
ar2;
ar3;
ar4; ...
The sum of the first
n terms of a GP can be calculated by:
[tex]\sum_{i = 1} ^ n (a r ^ {i - 1}) = a\frac{1 - r ^ n}{1 - r}[/tex]
Where
a is the first term of the GP,
r is the common ratio, and
n is th number of terms.
Now, apply the above formula to see if you can get the result. :)