login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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
OFFSET
0,2
COMMENTS
a(A202341(n)) = 1; a(A202342(n)) = 2.
LINKS
Eric Weisstein's World of Mathematics, Hofstadter H-Sequence.
FORMULA
a(n) = A136495(n+1) - A136495(n) for n > 0. - Alan Michael Gómez Calderón, Dec 23 2024
PROG
(Haskell)
import Data.List (group)
a202340 n = a202340_list !! n
a202340_list = map length $ group a005374_list
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 17 2011
STATUS
approved