login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A233836 Run lengths of ones and zeros in binary expansion of sqrt(2), cf. A004539. 5
1, 1, 2, 1, 1, 1, 1, 5, 1, 2, 4, 2, 2, 2, 2, 2, 7, 2, 3, 1, 4, 2, 2, 2, 1, 2, 1, 4, 1, 3, 1, 1, 2, 2, 1, 1, 5, 1, 2, 3, 1, 2, 2, 1, 2, 2, 2, 1, 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 5, 1, 1, 2, 5, 3, 3, 1, 1, 1, 2, 1, 4, 1, 2, 5, 1, 1, 3, 1, 1, 1, 1, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
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
Sequence in context: A274835 A275069 A181937 * A214719 A356299 A327858
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 16 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 8 08:13 EDT 2024. Contains 372319 sequences. (Running on oeis4.)