Consider the finite geometric series defined by the summation ∑i=0n−1ARi\sum_{i=0}^{n-1} A R^i∑i=0n−1ARi, where R≠1R \neq 1R=1.
Prove that the sum Sn S_n\,Sn of this series is given by the formula