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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A202340 Number of times n occurs in Hofstadter H-sequence A005374. 4
1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

a(A202341(n)) = 1; a(A202342(n)) = 2.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 0..10000

Eric Weisstein's World of Mathematics, Hofstadter H-Sequence.

Wikipedia, Hofstadter sequence

Index entries for Hofstadter-type sequences

PROG

(Haskell)

import Data.List (group)

a202340 n = a202340_list !! n

a202340_list = map length $ group a005374_list

CROSSREFS

Cf. A005374, A202341, A202342.

Sequence in context: A264837 A264714 A265209 * A049705 A060236 A006345

Adjacent sequences:  A202337 A202338 A202339 * A202341 A202342 A202343

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Dec 17 2011

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 January 23 19:36 EST 2020. Contains 331175 sequences. (Running on oeis4.)