[go: up one dir, main page]

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

A065977
Numbers k that divide the number formed by the first k decimal digits of e (A039920(k)).
0
1, 9, 13, 15, 220, 1610, 1822, 4879, 61992, 124838, 604739, 771780, 802771, 915973, 918868, 2722883, 3466893
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
Cf. A039920.
Sequence in context: A205851 A294406 A049733 * A294999 A153051 A106636
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