### Formula

an

n-th term

a1

initial term

d

common difference

n

number of terms

an

n-th term

a1

initial term

d

common difference

n

number of terms

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.

a1

d

n

an

Precision

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