Locally catenative sequence

In mathematics, a locally catenative sequence is a sequence of words in which each word can be constructed as the concatenation of previous words in the sequence.[1]

Formally, an infinite sequence of words w(n) is locally catenative if, for some positive integers k and i1,...ik:

Some authors use a slightly different definition in which encodings of previous words are allowed in the concatenation.[2]

Examples

The sequence of Fibonacci words S(n) is locally catenative because

The sequence of Thue–Morse words T(n) is not locally catenative by the first definition. However, it is locally catenative by the second definition because

where the encoding μ replaces 0 with 1 and 1 with 0.

gollark: They'll have to censor the code or something.
gollark: *oops*
gollark: Wait, what, <@347722964143308800>?
gollark: If TJ09 was particularly interested in fixing it, though, it'd be about five minutes' work to copy-paste the existing rules into the hub posting page.
gollark: What if DC is really just an advanced drama generator?

References

  1. Rozenberg, Grzegorz; Salomaa, Arto (1997). Handbook of Formal Languages. Springer. p. 262. ISBN 3-540-60420-0.
  2. Allouche, Jean-Paul; Shallit, Jeffrey (2003). Automatic Sequences. Cambridge. p. 237. ISBN 0-521-82332-3.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.