login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A051482
Run lengths in binary expansion of e.
0
1, 1, 1, 1, 2, 1, 6, 4, 1, 1, 1, 1, 1, 3, 1, 1, 2, 3, 1, 1, 1, 3, 1, 1, 1, 1, 3, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 6, 1, 3, 3, 1, 1, 1, 1, 2, 3, 1, 7, 1, 2, 3, 2, 4, 1, 1, 2, 4, 2, 4, 3, 3, 1, 2, 3, 1, 1, 3, 2, 3, 3, 1, 1, 2, 5, 4, 2, 3, 3, 1, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 1, 1, 2
OFFSET
1,5
EXAMPLE
The binary expansion of e is: 1 0. 1 0 11 0 111111 0000 1 ...
MATHEMATICA
Length/@Split[RealDigits[E, 2, 200][[1]]] (* Harvey P. Dale, Nov 15 2018 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
H. Tracy Hall (hthall(AT)math.berkeley.edu)
STATUS
approved