OFFSET
0,3
COMMENTS
If using a binary alphabet instead, it would not be possible to extend the sequence infinitely as a de Bruijn sequence (order 3 needs an extra term: 01100010111). - A. D. Skovgaard, Apr 19 2020
LINKS
A. D. Skovgaard, Table of n, a(n) for n = 0..246
A. D. Skovgaard, Python program to generate the sequence, with explanatory comments
A. D. Skovgaard, a(n) for n = 0..246 in compressed notation
EXAMPLE
Generation 1:
[012] (All ternary sequences of length 1 now appear. With 3! = 6 solutions, the lexicographically earliest is chosen.)
Generation 2:
[0120022110] (The sequence is extended from the previous generation, now including all ternary sequences of length 2.)
The process continues.
CROSSREFS
KEYWORD
nonn
AUTHOR
A. D. Skovgaard, Jun 27 2019
STATUS
approved