login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A105315
From the 4-symbol substitution 1->{2, 3}, 2->{3, 4}, 3->{4}, 4->{1}.
0
1, 1, 2, 3, 1, 2, 3, 2, 3, 3, 4, 4, 1, 2, 3, 2, 3, 3, 4, 4, 2, 3, 3, 4, 4, 3, 4, 4, 4, 1, 1, 1, 2, 3, 2, 3, 3, 4, 4, 2, 3, 3, 4, 4, 3, 4, 4, 4, 1, 1, 2, 3, 3, 4, 4, 3, 4, 4, 4, 1, 1, 3, 4, 4, 4, 1, 1, 4, 1, 1, 1, 2, 3, 2, 3, 1, 2, 3, 2, 3, 3, 4, 4, 2, 3, 3, 4, 4, 3, 4, 4, 4, 1, 1, 2, 3, 3, 4, 4, 3, 4, 4, 4, 1, 1
OFFSET
0,3
MATHEMATICA
s[1] = {2, 3}; s[2] = {3, 4}; s[3] = {4}; s[4] = {1};
t[a_] := Join[a, Flatten[s /@ a]];
p[0] = {1}; p[1] = t[{1}]; p[n_] := t[p[n - 1]]
aa = Flatten[Table[p[n], {n, 0, 4}]]
CROSSREFS
Sequence in context: A059832 A105316 A105933 * A328912 A356327 A130830
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Apr 25 2005
STATUS
approved