S_n = \frac{n}{2} (a_n + a_1)