### Formula

Sn

arithmetic series, sum of n elements

a1

initial term

d

common difference

n

number of elements

Sn

arithmetic series, sum of n elements

a1

initial term

d

common difference

n

number of elements

In mathematics, an arithmetic progression (AP) or arithmetic sequence is a sequence of numbers such that the difference between the consecutive terms is constant. For instance, the sequence 3, 5, 7, 9, 11, 13, ... is an arithmetic progression with common difference 2. The sum of the members of a finite arithmetic progression is called an arithmetic series.

a1

d

n

Sn

Precision

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