OFFSET
1,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
. A004539: 1 0 1 1 0 1 0 1 0 0 0 0 0 1 0 0 1 1 1 1 0 0 1 1 0 0 1 1 ...
. runs: _ _ ___ _ _ _ _ _________ _ ___ _______ ___ ___ ___ ___ ...
. lengths: 1 1 2 1 1 1 1 5 1 2 4 2 2 2 2 ...
MATHEMATICA
Length/@Split[RealDigits[Sqrt[2], 2, 300][[1]]] (* Harvey P. Dale, Oct 11 2020 *)
PROG
(Haskell)
import Data.List (group)
a233836 n = a233836_list !! (n-1)
a233836_list = map length $ group a004539_list
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 16 2013
STATUS
approved