Jump to content

k-regular sequence

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Taylorsmith2 (talk | contribs) at 19:44, 17 April 2017 (Added section on history). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics and theoretical computer science, a k-regular sequence is an infinite sequence of terms characterized by a finite automaton with auxiliary storage.[1] They are a generalization of k-automatic sequences to alphabets of infinite size.

Definition

There exist several characterizations of k-regular sequences, all of which are equivalent. Some common characterizations are as follows. For each, we take R′ to be a commutative Noetherian ring and we take R to be a ring containing R′.

k-kernel

Let k ≥ 2. The k-kernel of the sequence s(n) is the set of subsequences

The sequence s(n) is (R′, k)-regular (often shortened to just "k-regular") if Kk(s) is a sub-module of a finitely-generated R′-module.[2]

Linear combinations

A sequence s(n) is k-regular if there exists an integer E such that, for all ej > E and 0 ≤ rjkej − 1, every subsequence of s of the form s(kejn + rj) is expressible as an R′-linear combination , where cij is an integer, fijE, and 0 ≤ bijkfij − 1.[3]

Alternatively, a sequence s(n) is k-regular if there exist an integer r and subsequences s1(n), ..., sr(n) such that, for all 1 ≤ ir and 0 ≤ ak − 1, every sequence si(kn + a) in the k-kernel Kk(s) is an R′-linear combination of the subsequences si(n).[3]

Formal series

Let x0, ..., xk − 1 be a set of k non-commuting variables and let τ be a map sending some natural number n to the string xa0 ... xae − 1, where the base-k representation of x is the string ae − 1...a0. Then a sequence s(n) is k-regular if and only if the formal series is -rational.[4]

Automata-theoretic

The formal series definition of a k-regular sequence leads to an automaton characterization similar to Schützenberger's matrix machine.[1][5]

History

The notion of k-regular sequences was first investigated in a pair of papers by Allouche and Shallit.[6] Prior to this, Berstel and Reutenauer studied the theory of rational series, which is closely related to k-regular sequences.[7]

Examples

Ruler sequence

Let be the -adic valuation of . The ruler sequence (OEISA007814) is -regular, and the set

is contained in the -dimensional vector space generated by and the constant sequence . These basis elements lead to the recurrence equations

which, along with initial conditions and , uniquely determine the sequence.

Thue–Morse sequence

Every k-automatic sequence is k-regular.[8] For example, the Thue–Morse sequence is -regular, and

consists of the two sequences and .

Polynomial sequences

If is an integer-valued polynomial, then is k-regular for every .

Properties

The class of k-regular sequences is closed under termwise addition and multiplication.[9]

The nth term in a k-regular sequence grows at most polynomially in n.[10]

Notes

  1. ^ a b Allouche & Shallit (1992), Theorem 4.4
  2. ^ Allouche & Shallit (1992), Definition 2.1
  3. ^ a b Allouche & Shallit (1992), Theorem 2.2
  4. ^ Allouche & Shallit (1992), Theorem 4.3
  5. ^ Schützenberger, M.-P. (1961), "On the definition of a family of automata", Information and Control, 4: 245–270, doi:10.1016/S0019-9958(61)80020-X.
  6. ^ Allouche & Shallit (1992, 2003)
  7. ^ Berstel, Jean; Reutenauer, Christophe (1988). Rational Series and Their Languages. EATCS Monographs on Theoretical Computer Science. Vol. 12. Springer-Verlag. ISBN 978-3-642-73237-9.
  8. ^ Allouche & Shallit (1992), Theorem 2.3
  9. ^ Allouche & Shallit (1992), Theorem 2.5
  10. ^ Allouche & Shallit (1992), Theorem 2.10

References