Generalized arithmetic progression

From HandWiki
Revision as of 19:55, 6 February 2024 by WikiEd2 (talk | contribs) (fixing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Type of numeric sequence


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 [math]\displaystyle{ 17, 20, 22, 23, 25, 26, 27, 28, 29, \dots }[/math] 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

[math]\displaystyle{ \{ x_0 + \ell_1x_1 + \cdots + \ell_dx_d : 0 \le \ell_1\lt L_1, \ldots, 0 \le \ell_d \lt L_d \} }[/math]

where [math]\displaystyle{ x_0,x_1,\dots,x_d,L_1,\dots,L_d\in\mathbb{Z} }[/math]. The product [math]\displaystyle{ L_1L_2\cdots L_d }[/math] 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 [math]\displaystyle{ \mathbb{Z} }[/math]. This projection is injective if and only if the generalized arithmetic progression is proper.

Semilinear sets

Formally, an arithmetic progression of [math]\displaystyle{ \mathbb{N}^d }[/math] is an infinite sequence of the form [math]\displaystyle{ \mathbf{v},\mathbf{v} + \mathbf{v}',\mathbf{v} + 2\mathbf{v}',\mathbf{v} + 3\mathbf{v}',\ldots }[/math], where [math]\displaystyle{ \mathbf{v} }[/math] and [math]\displaystyle{ \mathbf{v}' }[/math] are fixed vectors in [math]\displaystyle{ \mathbb{N}^d }[/math], called the initial vector and common difference respectively. A subset of [math]\displaystyle{ \mathbb{N}^d }[/math] is said to be linear if it is of the form

[math]\displaystyle{ \left\{\mathbf{v} + \sum_{i=1}^m k_i\mathbf{v}_i \,\colon\, k_1,\dots,k_m\in \mathbb{N}\right\}, }[/math]

where [math]\displaystyle{ m }[/math] is some integer and [math]\displaystyle{ \mathbf{v},\mathbf{v}_1,\dots,\mathbf{v}_m }[/math] are fixed vectors in [math]\displaystyle{ \mathbb{N}^d }[/math]. A subset of [math]\displaystyle{ \mathbb{N}^d }[/math] 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.[1]

See also

References

  1. Ginsburg, Seymour; Spanier, Edwin Henry (1966). "Semigroups, Presburger Formulas, and Languages". Pacific Journal of Mathematics 16 (2): 285–296. doi:10.2140/pjm.1966.16.285.