OFFSET
1
FORMULA
MATHEMATICA
If[EvenQ[#], 0, 1]&/@RealDigits[E, 10, 120][[1]] (* Harvey P. Dale, Dec 11 2012 *)
PROG
(PARI) \p200 for(n=0, 150, print1((1-(-1)^floor(10^n*exp(1)))/2, ", "))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Benoit Cloitre, Jun 25 2002
STATUS
approved