OFFSET
1,2
MATHEMATICA
d = Drop[ First[ RealDigits[E, 10, 10^5 +1]], 1]; Do[ If[ IntegerQ[ FromDigits[Take[d, n]]/n], Print[n]], {n, 1, 65240} ]
PROG
(Python)
from sympy import E
digits_of_e = str(E.n(13*10**4))[2:] # or load data from file
def afind():
kint = 0
for k in range(1, len(digits_of_e)):
kint *= 10
kint += int(digits_of_e[k-1])
if kint%k == 0: print(k, end=", ")
afind() # Michael S. Branicky, Dec 28 2022
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Jason Earls, Dec 09 2001
EXTENSIONS
a(9) from Robert G. Wilson v, Dec 10 2001
a(10)-a(17) from Michael S. Branicky, Dec 28 2022
STATUS
approved