login
Nearest integer to n*log(n).
4

%I #12 Sep 27 2023 17:53:43

%S 0,1,3,6,8,11,14,17,20,23,26,30,33,37,41,44,48,52,56,60,64,68,72,76,

%T 80,85,89,93,98,102,106,111,115,120,124,129,134,138,143,148,152,157,

%U 162,167,171,176,181,186,191,196,201,205,210,215,220,225,230,236,241

%N Nearest integer to n*log(n).

%C The prime number theorem states that the n-th prime is asymptotic to n*log(n).

%D G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 5th ed., Oxford Univ. Press, 1979, Theorem 8.

%t Table[Round[n Log[n]],{n,100}] (* _Harvey P. Dale_, Sep 27 2023 *)

%Y Cf. A000040, A050502, A050504.

%K nonn

%O 1,3

%A _N. J. A. Sloane_, Dec 27 1999