OFFSET
1,1
COMMENTS
A088576 has the a(0) term.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, e Digits
MATHEMATICA
(* Computing 200000 digits of e is sufficient up to n=10000 *) eString = RealDigits[E, 10, 200000] // First // ToString /@ # & // StringJoin; a[n_] := (p = StringPosition[eString, n // ToString, 1]; If[p == {}, 0, p[[1, 1]]]); Table[a[n], {n, 1, 60}] (* Jean-François Alcover, Mar 04 2013 *)
With[{eee=RealDigits[E, 10, 200000][[1]]}, Transpose[Flatten[Table[ SequencePosition[ eee, IntegerDigits[n], 1], {n, 70}], 1]][[1]]] (* The program uses the SequencePosition function from Mathematica version 10 *) (* Harvey P. Dale, Nov 20 2015 *)
CROSSREFS
KEYWORD
base,easy,nice,nonn
AUTHOR
STATUS
approved