Sequence of numbers
An arithmetic progression or arithmetic sequence (AP) is a sequence of numbers such that the difference from any succeeding term to its preceding term remains constant throughout the sequence. The constant difference is called common difference of that arithmetic progression. For instance, the sequence 5, 7, 9, 11, 13, 15, . . . is an arithmetic progression with a common difference of 2.
If the initial term of an arithmetic progression is
and the common difference of successive members is
, then the
-th term of the sequence (
) is given by:

A finite portion of an arithmetic progression is called a finite arithmetic progression and sometimes just called an arithmetic progression. The sum of a finite arithmetic progression is called an arithmetic series.
History
According to an anecdote of uncertain reliability,[1] young Carl Friedrich Gauss in primary school reinvented this method to compute the sum of the integers from 1 through 100, by multiplying n/2 pairs of numbers in the sum by the values of each pair n + 1.[clarification needed] However, regardless of the truth of this story, Gauss was not the first to discover this formula, and some find it likely that its origin goes back to the Pythagoreans in the 5th century BC.[2] Similar rules were known in antiquity to Archimedes, Hypsicles and Diophantus;[3] in China to Zhang Qiujian; in India to Aryabhata, Brahmagupta and Bhaskara II;[4] and in medieval Europe to Alcuin,[5] Dicuil,[6] Fibonacci,[7] Sacrobosco[8]
and to anonymous commentators of Talmud known as Tosafists.[9]
Sum
2 |
+ |
5 |
+ |
8 |
+ |
11 |
+ |
14 |
= |
40
|
14 |
+ |
11 |
+ |
8 |
+ |
5 |
+ |
2 |
= |
40
|
|
16 |
+ |
16 |
+ |
16 |
+ |
16 |
+ |
16 |
= |
80
|
Computation of the sum 2 + 5 + 8 + 11 + 14. When the sequence is reversed and added to itself term by term, the resulting sequence has a single repeated value in it, equal to the sum of the first and last numbers (2 + 14 = 16). Thus 16 × 5 = 80 is twice the sum.
The sum of the members of a finite arithmetic progression is called an arithmetic series. For example, consider the sum:

This sum can be found quickly by taking the number n of terms being added (here 5), multiplying by the sum of the first and last number in the progression (here 2 + 14 = 16), and dividing by 2:

In the case above, this gives the equation:

This formula works for any real numbers
and
. For example: this

Derivation
Animated proof for the formula giving the sum of the first integers 1+2+...+n.
To derive the above formula, begin by expressing the arithmetic series in two different ways:


Rewriting the terms in reverse order:

Adding the corresponding terms of both sides of the two equations and halving both sides:
![{\displaystyle S_{n}={\frac {n}{2))[2a+(n-1)d].}](https://wikimedia.org/api/rest_v1/media/math/render/svg/5623eb3a2ee603f741a2971ba17fe28149c61fec)
This formula can be simplified as:
![{\displaystyle {\begin{aligned}S_{n}&={\frac {n}{2))[a+a+(n-1)d].\\&={\frac {n}{2))(a+a_{n}).\\&={\frac {n}{2))({\text{initial term))+{\text{last term))).\end{aligned))}](https://wikimedia.org/api/rest_v1/media/math/render/svg/52fc0b115eb3520322146fe69746f34caad8a589)
Furthermore, the mean value of the series can be calculated via:
:

The formula is very similar to the mean of a discrete uniform distribution.
Product
The product of the members of a finite arithmetic progression with an initial element a1, common differences d, and n elements in total is determined in a closed expression

where
denotes the Gamma function. The formula is not valid when
is negative or zero.
This is a generalization from the fact that the product of the progression
is given by the factorial
and that the product

for positive integers
and
is given by

Derivation

where
denotes the rising factorial.
By the recurrence formula
, valid for a complex number
,
,
,
so that

for
a positive integer and
a positive complex number.
Thus, if
,
,
and, finally,

Examples
- Example 1
Taking the example
, the product of the terms of the arithmetic progression given by
up to the 50th term is

- Example 2
The product of the first 10 odd numbers
is given by
= 654,729,075
Standard deviation
The standard deviation of any arithmetic progression can be calculated as

where
is the number of terms in the progression and
is the common difference between terms. The formula is very similar to the standard deviation of a discrete uniform distribution.
Intersections
The intersection of any two doubly infinite arithmetic progressions is either empty or another arithmetic progression, which can be found using the Chinese remainder theorem. If each pair of progressions in a family of doubly infinite arithmetic progressions have a non-empty intersection, then there exists a number common to all of them; that is, infinite arithmetic progressions form a Helly family.[10] However, the intersection of infinitely many infinite arithmetic progressions might be a single number rather than itself being an infinite progression.