### Formula

a1

initial term

Sn

arithmetic series, sum of n elements

d

common difference

n

number of elements

a1

initial term

Sn

arithmetic series, sum of n elements

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.

Sn

d

n

a1

Precision

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