login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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