login
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
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