OFFSET
0,2
FORMULA
For n>0: a(n)=round(exp(1)*(n+1/2-1/24/n)). Coming from: (n+1)^(n+1)/n^n=exp(1)*(n+1/2-1/24/n)+O(1/n^2) - Benoit Cloitre, Apr 24 2008
MATHEMATICA
Round[(1 + n)^(1 + n)/n^n]
PROG
(PARI) a(n)=if(n<1, 1, round(exp(1)*(n+1/2-1/24/n))) - Benoit Cloitre, Apr 24 2008
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Olivier Gérard, Jun 23 2001
STATUS
approved