OFFSET
1,6
COMMENTS
a(61) is undefined.
LINKS
B. Balamohan, A. Kuznetsov and S. Tanny, On the behavior of a variant of Hofstadter's Q-sequence, J. Integer Sequences, Vol. 10 (2007), #07.7.1.
MAPLE
a := proc(n) option remember; if n<=5 then 1 else if n > a(n-1) and n > a(n-5) then RETURN(a(n-a(n-1))+a(n-a(n-5))); else ERROR(" died at n= ", n); fi; fi; end;
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
T. D. Noe and N. J. A. Sloane, Nov 06 2007
STATUS
approved