Article · Wikipedia archive · Last revised May 28, 2026

Generalized arithmetic progression

In mathematics, a generalized arithmetic progression is a generalization of an arithmetic progression equipped with multiple common differences – whereas an arithmetic progression is generated by a single common difference, a generalized arithmetic progression can be generated by multiple common differences. For example, the sequence is not an arithmetic progression, but is instead generated by starting with 17 and adding either 3 or 5, thus allowing multiple common differences to generate it. A semilinear set generalizes this idea to multiple dimensions – it is a set of vectors of integers, rather than a set of integers.

Last revised
May 28, 2026
Read time
≈ 3 min
Length
748 w
Citations
3
Source

In mathematics, a generalized arithmetic progression (or multiple arithmetic progression) is a generalization of an arithmetic progression equipped with multiple common differences – whereas an arithmetic progression is generated by a single common difference, a generalized arithmetic progression can be generated by multiple common differences. For example, the sequence 17 , 20 , 22 , 23 , 25 , 26 , 27 , 28 , 29 , {\displaystyle 17,20,22,23,25,26,27,28,29,\dots } is not an arithmetic progression, but is instead generated by starting with 17 and adding either 3 or 5, thus allowing multiple common differences to generate it. A semilinear set generalizes this idea to multiple dimensions – it is a set of vectors of integers, rather than a set of integers.

Finite generalized arithmetic progression

A finite generalized arithmetic progression, or sometimes just generalized arithmetic progression (GAP), of dimension d is defined to be a set of the form { x 0 + 1 x 1 + + d x d : 0 1 < L 1 , , 0 d < L d } {\displaystyle \{x_{0}+\ell _{1}x_{1}+\cdots +\ell _{d}x_{d}:0\leq \ell _{1}<L_{1},\ldots ,0\leq \ell _{d}<L_{d}\}} where x 0 , x 1 , , x d , L 1 , , L d Z {\displaystyle x_{0},x_{1},\dots ,x_{d},L_{1},\dots ,L_{d}\in \mathbb {Z} } .1 The product L 1 L 2 L d {\displaystyle L_{1}L_{2}\cdots L_{d}} is called the size of the generalized arithmetic progression; the cardinality of the set can differ from the size if some elements of the set have multiple representations. If the cardinality equals the size, the progression is called proper. Generalized arithmetic progressions can be thought of as a projection of a higher dimensional grid into Z {\displaystyle \mathbb {Z} } . This projection is injective if and only if the generalized arithmetic progression is proper.

Semilinear sets

Formally, an arithmetic progression of N d {\displaystyle \mathbb {N} ^{d}} is an infinite sequence of the form v , v + v , v + 2 v , v + 3 v , {\displaystyle \mathbf {v} ,\mathbf {v} +\mathbf {v} ',\mathbf {v} +2\mathbf {v} ',\mathbf {v} +3\mathbf {v} ',\ldots } , where v {\displaystyle \mathbf {v} } and v {\displaystyle \mathbf {v} '} are fixed vectors in N d {\displaystyle \mathbb {N} ^{d}} , called the initial vector and common difference respectively. A subset of N d {\displaystyle \mathbb {N} ^{d}} is said to be linear if it is of the form { v + i = 1 m k i v i : k 1 , , k m N } , {\displaystyle \left\{\mathbf {v} +\sum _{i=1}^{m}k_{i}\mathbf {v} _{i}\,\colon \,k_{1},\dots ,k_{m}\in \mathbb {N} \right\},} where m {\displaystyle m} is some integer and v , v 1 , , v m {\displaystyle \mathbf {v} ,\mathbf {v} _{1},\dots ,\mathbf {v} _{m}} are fixed vectors in N d {\displaystyle \mathbb {N} ^{d}} . A subset of N d {\displaystyle \mathbb {N} ^{d}} is said to be semilinear if it is a finite union of linear sets.

The semilinear sets are exactly the sets definable in Presburger arithmetic.23

See also

See also

Notes and references

  1. Tao & Vu 2006, p. xvii, Definition 0.2 (Progressions). Tao and Vu work in an arbitrary additive group and write the progression as P = a + [ 0 , N ] v , {\displaystyle P=a+[0,N]\cdot v,} where N = ( N 1 , , N d ) {\displaystyle N=(N_{1},\dots ,N_{d})} and the box [ 0 , N ] {\displaystyle [0,N]} contains j = 1 d ( N j + 1 ) {\displaystyle \prod _{j=1}^{d}(N_{j}+1)} points. This agrees with the definition given here upon setting L j = N j + 1 {\displaystyle L_{j}=N_{j}+1} ; they call d {\displaystyle d} the rank rather than the dimension.
  2. Ginsburg & Spanier 1966.
  3. See also: Haase 2018, 4. SEMI-LINEAR SETS
Bibliography

Bibliography