OFFSET
0,2
LINKS
F. M. Dekking, Recurrent sets, Advances in Mathematics, vol. 44, no. 1 (1982), 78-104; page 85, section 4.1.
FORMULA
a(4n-3) = a(4n) = a(n).
MATHEMATICA
s[1] = {1, 4, 2, 1}; s[2] = {2, 1, 3, 2}; s[3] = {3, 2, 4, 3}; s[4] = {4, 1, 3, 4}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]]; aa = p[4]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, May 04 2005
STATUS
approved