OFFSET
1,4
REFERENCES
J. Arkin, D. C. Arney, L. S. Dewald and W. E. Ebel, Jr., Families of recursive sequences, J. Rec. Math., 22 (No. 22, 1990), 85-94.
B. W. Conolly, ``Meta-Fibonacci sequences,'' in S. Vajda, editor, Fibonacci and Lucas Numbers and the Golden Section. Halstead Press, NY, 1989, pp. 127-138.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Iain Fox, Table of n, a(n) for n = 1..10000
I. Vardi, Email to N. J. A. Sloane, Jun. 1991
MAPLE
a := proc(n) option remember: if 1 <= n and n <=3 then RETURN(1) fi: a(a(n-3)) +a(n-a(n-3)) end: for n from 1 to 100 do printf(`%d, `, a(n)) od:
PROG
(PARI) first(n) = my(res = vector(n, i, 1)); for(x=4, n, res[x]=res[res[x-3]] + res[x-res[x-3]]); res \\ Iain Fox, Oct 24 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from James A. Sellers, Apr 20 2001
STATUS
approved