OFFSET
1,1
COMMENTS
At any step only the least value greater than a(n) is taken into consideration. As a(2) we could choose 95, 311, ...
Next term has 81 digits. - Giovanni Resta, Mar 20 2019
LINKS
Eric Weisstein's World of Mathematics, Egyptian fraction
EXAMPLE
1/10 = 0.1000...
1/10 + 1/(10+95) = 0.1095238...
1/10 + 1/(10+95) + 1/(10+95+45660) = 0.109545660283...
The sum is 0.10 95 45660 ...
MAPLE
P:=proc(q, h) local a, b, d, n, t, z; a:=1/h; b:=length(h);
d:=h; print(d); t:=h; for n from 1 to q do
z:=evalf(evalf(a+1/(t+n), 100)*10^(b+ilog10(n)+1), 100);
z:=trunc(z-frac(z)); if z=d*10^(ilog10(n)+1)+n then b:=b+ilog10(n)+1;
d:=d*10^(ilog10(n)+1)+n; t:=t+n; a:=a+1/(t); print(n);
fi; od; end: P(10^20, 10)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Paolo P. Lava, Mar 20 2019
EXTENSIONS
a(4)-a(6) from Giovanni Resta, Mar 20 2019
STATUS
approved