

A156624


Nearest integer to the integral of log(x) between 1 and n


1



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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

2,3


LINKS

Table of n, a(n) for n=2..49.


MATHEMATICA

Table[Round[Integrate[Log[x], {x, 1, n}]], {n, 2, 50}] (* Harvey P. Dale, Apr 28 2018 *)


PROG

(Sage) [round(N(integral(ln(x), x, 1, n))) for n in range (2, 50)]


CROSSREFS

Cf. A156625.
Sequence in context: A215476 A204662 A135667 * A242932 A025201 A071259
Adjacent sequences: A156621 A156622 A156623 * A156625 A156626 A156627


KEYWORD

easy,nonn


AUTHOR

Jack W Grahl, Feb 11 2009


STATUS

approved



