## Intermediate Algebra for College Students (7th Edition)

The sum of the first $n$ terms of the sequence can be obtained by the formula $S_n=(a_1+a_n)\frac{n}{2}$ where $a_1$ is the first and $a_n$ is the last term.