A156624 Nearest integer to the integral of log(x) between 1 and n.
0, 1, 3, 4, 6, 8, 10, 12, 14, 16, 19, 21, 24, 27, 29, 32, 35, 38, 41, 44, 47, 50, 53, 56, 60, 63, 66, 70, 73, 76, 80, 83, 87, 90, 94, 98, 101, 105, 109, 112, 116, 120, 124, 127, 131, 135, 139, 143
Offset: 2
Crossrefs
Cf. A156625.
Programs
-
Mathematica
Table[Round[Integrate[Log[x],{x,1,n}]],{n,2,50}] (* Harvey P. Dale, Apr 28 2018 *)
-
Sage
[round(N(integral(ln(x), x, 1, n))) for n in range (2,50)]