

A283902


Relative of Hofstadter Qsequence: a(701) = 4, a(700) = 702, a(699) = 4, a(698) = 702; thereafter a(n) = a(na(n1)) + a(na(n2)).


5



8, 1404, 4, 702, 12, 1404, 4, 702, 16, 1404, 4, 702, 20, 1404, 4, 702, 24, 1404, 4, 702, 28, 1404, 4, 702, 32, 1404, 4, 702, 36, 1404, 4, 702, 40, 1404, 4, 702, 44, 1404, 4, 702, 48, 1404, 4, 702, 52, 1404, 4, 702, 56, 1404, 4, 702, 60, 1404, 4
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

In calculating terms of this sequence, use the convention that a(n)=0 for n<=702.
Sequences like this are more naturally considered with the first nonzero term in position 1. But this sequence would then begin with 702 terms consisting entirely of alternating 4 and 702.
This sequence has exactly 11969 terms, since a(11969)=0 and computing a(11970) would refer to itself.


LINKS

Nathan Fox, Table of n, a(n) for n = 1..11969


MAPLE

A283902:=proc(n) option remember: if n <= 702 then 0: elif n = 701 then 4: elif n = 700 then 702: elif n = 699 then 4: elif n = 698 then 702: else A283902(nA283902(n1)) + A283902(nA283902(n2)): fi: end:


CROSSREFS

Cf. A005185, A283898, A283899, A283900, A283901.
Sequence in context: A088080 A230472 A160103 * A064073 A282889 A225068
Adjacent sequences: A283899 A283900 A283901 * A283903 A283904 A283905


KEYWORD

nonn,fini,full


AUTHOR

Nathan Fox, Mar 19 2017


STATUS

approved



