login
Cumulative sum of digits of base-2 representation of Euler number "e".
0

%I #24 Feb 16 2024 14:28:37

%S 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,

%T 15,16,16,16,16,17,17,18,18,18,18,19,19,20,20,21,22,23,23,24,25,25,26,

%U 26,26,27,27,28,28,29,29,29,30,31,31,32,32,33,33,34,34

%N Cumulative sum of digits of base-2 representation of Euler number "e".

%e 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,,...

%t Accumulate[First[RealDigits[E,2,68]]] (* _James C. McMahon_, Feb 04 2024 *)

%Y Partial sums of A004593 (e in binary).

%Y Cf. A001113 (e in decimal), A302342 (sum of bits of Pi).

%K nonn

%O 1,3

%A _James S. DeArmon_, Feb 03 2024