### Formula

n

number of elements

Sn

arithmetic series, sum of n elements

a1

initial term

an

n-th term

n

number of elements

Sn

arithmetic series, sum of n elements

a1

initial term

an

n-th term

In mathematics, an arithmetic progression (AP) or arithmetic sequence is a sequence of numbers such that the difference of any two successive members of the sequence is a constant. The sum of the members of a finite arithmetic progression is called an arithmetic series.

Sn

a1

an

n

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP