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 18:00, 17 April 2017 (Rewrote introduction, miscellaneous note fixes). 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

Let . An integer sequence is k-regular if the set of sequences

is contained in a finite-dimensional vector space over the field of rational numbers.

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.[2] 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.[3]

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

Generalizations

The notion of a k-regular sequence can be generalized to a ring as follows. Let be a commutative Noetherian subring of . A sequence with values in is -regular if the -module generated by

is finitely generated.

Notes

  1. ^ Allouche & Shallit (1992), Theorem 4.4
  2. ^ Allouche & Shallit (1992), Theorem 2.3
  3. ^ Allouche & Shallit (1992), Theorem 2.5
  4. ^ Allouche & Shallit (1992), Theorem 2.10

References

  • Allouche, Jean-Paul; Shallit, Jeffrey (1992), "The ring of k-regular sequences", Theoretical Computer Science, 98: 163–197, doi:10.1016/0304-3975(92)90001-v.
  • Allouche, Jean-Paul; Shallit, Jeffrey (2003), "The ring of k-regular sequences, II", Theoretical Computer Science, 307: 3–29, doi:10.1016/s0304-3975(03)00090-2.
  • Allouche, Jean-Paul; Shallit, Jeffrey (2003). Automatic Sequences: Theory, Applications, Generalizations. Cambridge University Press. ISBN 978-0-521-82332-6. Zbl 1086.11015.