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

Number of 1's in binary representation of n-th decimal digit in expansion of e.
0

%I #12 Apr 28 2018 09:36:54

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

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

%U 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

%N Number of 1's in binary representation of n-th decimal digit in expansion of e.

%t 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 *)

%Y Cf. A001113, A086996.

%K nonn,base

%O 1,2

%A _Cino Hilliard_, Sep 23 2003

%E More terms from _Ray Chandler_, Sep 29 2003