OFFSET
1,2
FORMULA
a(n) = A103762(a(n-1) + 1) for n > 1. - Jinyuan Wang, Mar 05 2020
EXAMPLE
1/2 = 0.5, 1/2 + 1/3 = 0.833..., 1/2 + 1/3 + 1/4 = 1.0833... > 1, so a(2) = 4.
PROG
(PARI) default(realprecision, 10^5); e=exp(1);
lista(nn) = {my(k=1); print1(k); for(n=2, nn, print1(", ", k=floor(e*k+(e+1)/2+(e-1/e)/(24*(n+1/2))))); } \\ Jinyuan Wang, Mar 05 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Aug 16 2010
EXTENSIONS
Name clarified by and more terms from Jinyuan Wang, Mar 05 2020
STATUS
approved