$${S_n = \frac {n} {2} \cdot (a_1 + a_1 + (n -1) \cdot d)}$$