Answer:
The formula which can be used to find the sum of the first n terms of a geometric sequence is:
![S_n=a_1((1-r^n)/(1-r))](https://img.qammunity.org/2020/formulas/mathematics/high-school/7x5i6h8v1o23s7hx9wkfs42lozq93qiney.png)
Explanation:
Geometric sequence--
A sequence is said to be a geometric sequence if each of the term of a sequence is a constant multiple of the preceding term of the sequence.
This constant multiple is known as a common ratio and is denoted by r.
Also, if the first term of the sequence is:
![a_1](https://img.qammunity.org/2020/formulas/mathematics/high-school/d6f53c0bf7h94zwlwkkooj07ybuvj6iivt.png)
Then the sequence is given by:
![a_1,\ a_2=a_1r,\ a_3=a_1r^2,\ a_4=a_1r^3,\ .............a_n=a_1r^(n-1),\ .....](https://img.qammunity.org/2020/formulas/mathematics/high-school/b9mwz1fq9lca0lvq8xlz7rhgejl9wkcm2p.png)
The sum of the first n terms of the sequence is given by:
![S_n=a_1((1-r^n)/(1-r))](https://img.qammunity.org/2020/formulas/mathematics/high-school/7x5i6h8v1o23s7hx9wkfs42lozq93qiney.png)