login
Expansion of e in base 2.
24

%I #38 Dec 13 2017 04:21:11

%S 1,0,1,0,1,1,0,1,1,1,1,1,1,0,0,0,0,1,0,1,0,1,0,0,0,1,0,1,1,0,0,0,1,0,

%T 1,0,0,0,1,0,1,0,1,1,1,0,1,1,0,1,0,0,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,0,

%U 1,1,1,1,1,1,0,1,1,1,0,0,0,1,0,1,0,1,1,0,0,0,1,0,0,0,0,0,0,0,1

%N Expansion of e in base 2.

%C The first 19 digits are a reverse copy of the 7th through 25th digits of the binary expansion of Pi (A004601). - _Dan Graham_, May 03 2015

%H Vincenzo Librandi, <a href="/A004593/b004593.txt">Table of n, a(n) for n = 2..2000</a>

%e 10.10110111111000010...

%t First@ RealDigits[N[E, 120], 2] (* _Michael De Vlieger_, May 05 2015 *)

%o (PARI) a(n)=exp(1)*2^(n-3)\1%2 \\ _Charles R Greathouse IV_, May 05 2015

%Y Expansion of e in base b: this sequence (b=2), A004594 (b=3), A004595 (b=4), A004596 (b=5), A004597 (b=6), A004598 (b=7), A004599 (b=8), A004600 (b=9), A001113 (b=10), A170873 (b=16). - _Jason Kimberley_, Dec 05 2012

%K nonn,cons,base

%O 2,1

%A _N. J. A. Sloane_