OFFSET
0,1
REFERENCES
M. Lothaire, Combinatorics on Words. Addison-Wesley, Reading, MA, 1983, p. 26.
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
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
KEYWORD
nonn
AUTHOR
STATUS
approved