arithmetic progression
Arithmetic progression of length , initial term and common difference is the sequence
.
The sum of terms of an arithmetic progression can be computed using Gauss’s trick:
We just add the sum with itself written backwards, and the sum of each of the columns equals to . The sum is then