login
A105313
From the 4-symbol substitution 1->{2, 3, 4}, 2->{1, 3, 4}, 3->{1, 2, 4}, 4->{1, 2, 3}.
0
1, 1, 4, 3, 2, 1, 4, 3, 2, 4, 3, 2, 3, 2, 1, 4, 2, 1, 4, 3, 1, 1, 4, 3, 2, 4, 3, 2, 3, 2, 1, 4, 2, 1, 4, 3, 1, 4, 3, 2, 3, 2, 1, 4, 2, 1, 4, 3, 1, 3, 2, 1, 4, 2, 1, 4, 3, 1, 4, 2, 1, 4, 3, 1, 4, 3, 2, 3, 2, 1, 4, 3, 1, 4, 3, 2, 3, 2, 1, 4, 2, 1, 4, 3, 2, 1, 4, 3, 2, 4, 3, 2, 3, 2, 1, 4, 2, 1, 4, 3, 1, 4, 3, 2, 3
OFFSET
0,3
MATHEMATICA
s[1] = {4, 3, 2}; s[2] = {4, 3, 1}; s[3] = {4, 2, 1}; s[4] = {3, 2, 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: A093580 A196535 A106655 * A085064 A030587 A194764
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, Apr 25 2005
STATUS
approved