Arithmetic progression

Arithmetic sequence is a sequence of numbers such that the difference between the consecutive terms is constant.
For example: 1, 3, 5,.....,11,13,15,...

a 1 , a 2 , a 3 , . . . , a n 1 , a n , a n + 1 , . . .

n-th term of the sequence:

a n = a 1 + ( n 1 ) d
a n = a n 1 + a n + 1 2 ,     n > 1

The sum of the first n terms:

Sn=a1+an·n2
Sn=[2a1+(n1)d]·n2
Keywords: Arithmetic progression