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

A369870
Cumulative sum of digits of base-2 representation of Euler number "e".
0
1, 1, 2, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10, 10, 11, 11, 12, 12, 13, 13, 13, 13, 14, 14, 15, 16, 16, 16, 16, 17, 17, 18, 18, 18, 18, 19, 19, 20, 20, 21, 22, 23, 23, 24, 25, 25, 26, 26, 26, 27, 27, 28, 28, 29, 29, 29, 30, 31, 31, 32, 32, 33, 33, 34, 34
OFFSET
1,3
EXAMPLE
Euler's number e = 2.71828... = binary 1,0,1,0,1,1,0,1,1,... and partial sums those are 1,1,2,2,3,4,4,5,6,,...
MATHEMATICA
Accumulate[First[RealDigits[E, 2, 68]]] (* James C. McMahon, Feb 04 2024 *)
CROSSREFS
Partial sums of A004593 (e in binary).
Cf. A001113 (e in decimal), A302342 (sum of bits of Pi).
Sequence in context: A051068 A050294 A349775 * A097950 A011885 A211524
KEYWORD
nonn
AUTHOR
James S. DeArmon, Feb 03 2024
STATUS
approved