A004593 Expansion of e in base 2.
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, 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, 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
Offset: 2
Examples
10.10110111111000010...
Links
- Vincenzo Librandi, Table of n, a(n) for n = 2..2000
Crossrefs
Programs
-
Mathematica
First@ RealDigits[N[E, 120], 2] (* Michael De Vlieger, May 05 2015 *)
-
PARI
a(n)=exp(1)*2^(n-3)\1%2 \\ Charles R Greathouse IV, May 05 2015
Comments