OFFSET
1,1
COMMENTS
Numbers n such that the first n decimal digits of e contain equal numbers of even and odd decimal digits.
EXAMPLE
4 is in the sequence because, with 4 digits of e = 2.718 -> (-1)^2 + (-1)^7 + (-1)^1 + (-1)^8 = 0.
MATHEMATICA
L= Rest@FoldList[ Plus, 0, (-1)^First@ RealDigits[E, 10, 3000]] ; Do[If [L[[n]]==0, Print[n]], {n, 3000}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Sep 09 2010
STATUS
approved