OFFSET
1,1
REFERENCES
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..1000
G. W. Reitwiesner, An ENIAC determination of pi and e to more than 2000 decimal places, Mathematical Tables and Other Aids to Computation, 4 (1950), 11-15.
D. Shanks and J. W. Wrench, Jr., Calculation of e to 100,000 decimals, Math. Comp., 23 (1969), 679-680.
PROG
(Python)
from sympy import E
def aupto(digit_limit):
alst, estr = [], str(E.n(digit_limit)).replace(".", "")
prevlen, prevstr, suffix = 0, "", estr
while len(suffix) > prevlen + 1:
if suffix[:prevlen] > prevstr: idx = prevlen
else: idx = prevlen + 1
while suffix[idx] == '0':
idx += 1
if idx > len(suffix): break # end of string reached
anstr, suffix = suffix[:idx], suffix[idx:]
prevstr, prevlen = anstr, len(anstr)
assert anstr[0] != '0'
alst.append(int(anstr))
return alst
print(aupto(220)) # Michael S. Branicky, Feb 07 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Jon E. Schoenfield, Mar 24 2010
a(24) and beyond from Michael S. Branicky, Feb 07 2021
STATUS
approved