login
A156625
Floor(integral of log(x) from 1 to n).
1
0, 1, 2, 4, 5, 7, 9, 11, 14, 16, 18, 21, 23, 26, 29, 32, 35, 37, 40, 43, 47, 50, 53, 56, 59, 62, 66, 69, 73, 76, 79, 83, 86, 90, 94, 97, 101, 104, 108, 112, 115, 119, 123, 127, 131, 134, 138, 142
OFFSET
2,3
FORMULA
a(n)=A050504(n)-n+1. - R. J. Mathar, Feb 12 2009
MATHEMATICA
Table[Floor[Integrate[Log[n], {n, 1, x}]], {x, 2, 50}] (* Harvey P. Dale, May 08 2023 *)
PROG
(Sage) [floor(N(integral(ln(x), x, 1, n))) for n in range (2, 50)]
CROSSREFS
Cf. A156624.
Sequence in context: A045922 A258049 A057352 * A259280 A186388 A058577
KEYWORD
easy,nonn
AUTHOR
Jack W Grahl, Feb 11 2009
STATUS
approved