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

A071981
Parity of the digits of e in base 10.
2
0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0
OFFSET
1
FORMULA
a(n) = A000035(A001113(n)). - Omar E. Pol, Oct 28 2013
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
Sequence in context: A030301 A316341 A284901 * A280910 A305816 A359820
KEYWORD
nonn,base
AUTHOR
Benoit Cloitre, Jun 25 2002
STATUS
approved