login
A036584
Ternary Thue-Morse sequence: closed under a->abc, b->ac, c->b.
3
3, 1, 2, 3, 2, 1, 3, 1, 2, 1, 3, 2, 3, 1, 2, 3, 2, 1, 3, 2, 3, 1, 2, 1, 3, 1, 2, 3, 2, 1, 3, 1, 2, 1, 3, 2, 3, 1, 2, 1, 3, 1, 2, 3, 2, 1, 3, 2, 3, 1, 2, 3, 2, 1, 3, 1, 2, 1, 3, 2, 3, 1, 2, 3, 2, 1, 3, 2, 3, 1, 2, 1, 3, 1, 2, 3, 2, 1, 3, 2, 3, 1, 2, 3, 2, 1, 3, 1, 2, 1, 3, 2, 3, 1, 2, 1, 3, 1, 2
OFFSET
0,1
REFERENCES
M. Lothaire, Combinatorics on Words. Addison-Wesley, Reading, MA, 1983, p. 26.
LINKS
MAPLE
S:= [3]:
Q:= {3=(3, 1, 2), 1=(3, 2), 2=1}:
while nops(S) < 100 do S:= subs(Q, S) od:
S;
CROSSREFS
Sequence in context: A081485 A307693 A100337 * A260453 A210243 A232269
KEYWORD
nonn
AUTHOR
STATUS
approved