Arithmetic Series

The sum of the terms of an arithmetic sequence
\[ S_n = \sum_{i=1}^n a + (i-1) \, d = n a + \tfrac{1}{2} n (n-1) \, d \]
where \(\sum\) is the summation sign.