Input
Arithmetic series
Arithmetic series
sum_(k=1)^n(a_1 + (k – 1) d) = n a_1 + 1/2 n ((n – 1) d)