1,6

a(61) is undefined.

Table of n, a(n) for n=1..60.

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.

Index entries for Hofstadter-type sequences

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;

Sequence in context: A121856 A332061 A317442 * A080680 A005376 A196362

Adjacent sequences: A132169 A132170 A132171 * A132173 A132174 A132175

nonn,fini,full

T. D. Noe and N. J. A. Sloane, Nov 06 2007

approved