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”).

A086997
Number of 1's in binary representation of n-th decimal digit in expansion of e.
0
1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 0, 1, 2, 1, 2, 2, 2, 2, 0, 1, 1, 3, 1, 3, 1, 2, 2, 1, 2, 2, 1, 1, 2, 3, 3, 2, 3, 1, 1, 3, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 1, 2, 2, 2, 2, 2, 3, 2, 1, 3, 3, 1, 1, 0, 3, 2, 2, 2, 0, 2, 2, 2, 2, 1, 3, 2, 2, 1, 2, 3, 1, 2, 1, 1, 1, 3, 1, 2, 1, 2, 1, 2, 2, 1, 1, 3, 1, 1, 3, 1, 2
OFFSET
1,2
MATHEMATICA
Module[{d=#[[1]]->#[[2]]&/@Table[{n, Count[IntegerDigits[n, 2], 1]}, {n, 0, 9}]}, RealDigits[E, 10, 120][[1]]/.d] (* Harvey P. Dale, Apr 28 2018 *)
CROSSREFS
Sequence in context: A030559 A030558 A030557 * A074298 A356097 A356096
KEYWORD
nonn,base
AUTHOR
Cino Hilliard, Sep 23 2003
EXTENSIONS
More terms from Ray Chandler, Sep 29 2003
STATUS
approved