login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A345684 a(n) = n! * Sum_{k=1..n} k/floor(n/k). 5
1, 5, 32, 198, 1584, 12480, 122520, 1214640, 14011200, 166924800, 2274894720, 31135104000, 485667705600, 7710089587200, 133974352512000, 2386854434764800, 46621903994265600, 918384939343872000, 19760215067873280000, 430137075045629952000, 10042411264251125760000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) ~ c * n^2 * n!, where c = Sum_{j>=1} (2*j + 1) / (2*j^3*(j+1)^2) = Pi^2/12 + zeta(3)/2 - 1 = 0.423495...
E.g.f.: -(1/(1-x)) * Sum_{k>0} k * (1 - x^k) * log(1 - x^k). - Seiichi Manyama, Jul 23 2022
MATHEMATICA
Table[n!*Sum[k/Floor[n/k], {k, 1, n}], {n, 1, 25}]
Table[n!*Sum[(Floor[n/j] - Floor[n/(1 + j)])*((1 + Floor[n/j] + Floor[n/(1 + j)])/2/j), {j, 1, n}], {n, 1, 25}]
PROG
(PARI) a(n) = n!*sum(k=1, n, k/(n\k)); \\ Michel Marcus, Jun 23 2021
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(-sum(k=1, N, k*(1-x^k)*log(1-x^k))/(1-x))) \\ Seiichi Manyama, Jul 23 2022
CROSSREFS
Sequence in context: A270565 A271165 A015541 * A297068 A024064 A164594
KEYWORD
nonn
AUTHOR
Vaclav Kotesovec, Jun 23 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:27 EDT 2024. Contains 371912 sequences. (Running on oeis4.)