login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A283897 Relative of Hofstadter Q-sequence: a(-90) = 91, a(-89) = 2; thereafter a(n) = a(n-a(n-1)) + a(n-a(n-2)). 5
93, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2, 184, 2 (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<=-91.
Sequences like this are more naturally considered with the first nonzero term in position 1. But this sequence would then begin with 91 terms consisting entirely of alternating 2 and 91.
This sequence has exactly 375 terms, since a(375)=0 and computing a(376) would refer to itself.
LINKS
MAPLE
A283897:=proc(n) option remember: if n <= -91 then 0: elif n = -90 then 91: elif n = -89 then 2: else A283897(n-A283897(n-1)) + A283897(n-A283897(n-2)): fi: end:
CROSSREFS
Sequence in context: A252631 A191948 A278860 * A097568 A086001 A106658
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)