login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087843 a[n] =a[n - a[n-1]] + a[a[a[n - a[n-2]]]] 0
1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 7, 6, 7, 7, 7, 7, 7, 9, 7, 9, 8, 9, 9, 9, 9, 9, 11, 9, 11, 9, 11, 10, 11, 11, 11, 11, 11, 13, 11, 13, 11, 13, 11, 13, 12, 13, 13, 13, 13, 13, 16, 13, 15, 13, 16, 15, 15, 13, 16, 16, 15, 16, 16, 16, 16, 16, 19, 16, 18, 16, 19, 18, 19, 19, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

The fourth recursive of HofstadterQ second term of A005185.

LINKS

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

MATHEMATICA

Hofstadter[n_Integer?Positive] := Hofstadter[n] = Hofstadter[n - Hofstadter[n-1]] + Hofstadter[Hofstadter[Hofstadter[n - Hofstadter[n-2]]]] Hofstadter[1] = Hofstadter[2] = 1 digits=200 a1=Table[Hofstadter[n], {n, 1, digits}]

CROSSREFS

Cf. A005185, A081831.

Sequence in context: A130148 A341510 A196238 * A087831 A194327 A058032

Adjacent sequences:  A087840 A087841 A087842 * A087844 A087845 A087846

KEYWORD

nonn

AUTHOR

Roger L. Bagula, Oct 07 2003

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 18 06:50 EDT 2021. Contains 348066 sequences. (Running on oeis4.)