login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Nearest integer to (n+1)^(n+1)/n^n.
0

%I #5 Mar 30 2012 18:38:45

%S 1,4,7,9,12,15,18,20,23,26,29,31,34,37,39,42,45,48,50,53,56,58,61,64,

%T 67,69,72,75,77,80,83,86,88,91,94,96,99,102,105,107,110,113,116,118,

%U 121,124,126,129,132,135,137,140,143,145,148,151,154,156,159,162,164

%N Nearest integer to (n+1)^(n+1)/n^n.

%F 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

%t Round[(1 + n)^(1 + n)/n^n]

%o (PARI) a(n)=if(n<1,1,round(exp(1)*(n+1/2-1/24/n))) - _Benoit Cloitre_, Apr 24 2008

%Y Cf. A060644.

%K nonn,easy

%O 0,2

%A _Olivier GĂ©rard_, Jun 23 2001