OFFSET
1,1
COMMENTS
'Location' starts from the first digit after the decimal point and refers to the first digit of a(n).
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
Robert Nemiroff and Jerry Bonnell, The Number e to 1 Million Digits.
FORMULA
a(n) > A078197(n). - Michael S. Branicky, Jul 10 2022
EXAMPLE
1 is not a term since it is less than its location in e, 2.
7 is a term since it is greater than its location in e, 1.
18 is a term since it is greater than its location in e, 2.
PROG
(Python)
from sympy import E
from itertools import count, islice
digits_of_e = str(E.n(10**5))[1:-1] # raise to 10**6 for b-file
def agen():
for k in count(1):
kloc = digits_of_e.find(str(k))
assert kloc > 0, ("Increase precision", k)
if k > kloc: yield k
print(list(islice(agen(), 60))) # Michael S. Branicky, Jul 10 2022
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Leonid Ianoushevitch (leonid163(AT)mail.ru), Oct 24 2008
EXTENSIONS
Terms corrected and a(45) and beyond from Michael S. Branicky, Jul 10 2022
STATUS
approved