OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
FORMULA
a(n) is asymptotic to c*exp(n)/sqrt(n) where c=1.261(6)...
c = 1.2617447588213627326364194241966529846376230854758648215934468766256494736... - Vaclav Kotesovec, Feb 15 2019
MATHEMATICA
nxt[{n_, a_}]:={n+1, Ceiling[(1+1/n)^n*a]}; Transpose[NestList[nxt, {1, 1}, 30]][[2]] (* Harvey P. Dale, Oct 11 2012 *)
PROG
(PARI) a(n)=if(n<1, 1, ceil((1+1/n)^n*a(n)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 18 2004
STATUS
approved