Formula
$$S_n= \dfrac{n}{2}\left(a_1+a_n\right)$$
Variables
Sn
→
Sum of first n terms
a1
→
First term
an
→
n-th term
d
→
Difference beetween two terms