### Formula

d

common difference

an

n-th term

a1

initial term, first term

n

number of elements

d

common difference

an

n-th term

a1

initial term, first term

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.

an

a1

n

d

Precision

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