This site is supported by donations to The OEIS Foundation. Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A283902 Relative of Hofstadter Q-sequence: a(-701) = 4, a(-700) = 702, a(-699) = 4, a(-698) = 702; thereafter a(n) = a(n-a(n-1)) + a(n-a(n-2)). 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(n-A283902(n-1)) + A283902(n-A283902(n-2)): 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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified October 14 00:09 EDT 2019. Contains 327990 sequences. (Running on oeis4.)