A076000 a(n) = Product_{k=1..n} k/floor(n/k).
1, 1, 2, 3, 12, 20, 120, 315, 1680, 6048, 60480, 138600, 1663200, 9266400, 69189120, 340540200, 5448643200, 22870848000, 411675264000, 2111894104320, 24135932620800, 230388447744000, 5068545850368000
Offset: 1
Keywords
Examples
a(6) = 6*5*4*3*2*1/([6/1]*[6/2]*[6/3]*[6/4]*[6/5]*[6/6]) = 6!/(6*3*2*1*1*1) = 20, where [x] denotes the greatest integer <= x.
Programs
-
Mathematica
Table[Product[k/Floor[n/k],{k,n}],{n,30}] (* Harvey P. Dale, Feb 27 2013 *)
-
PARI
a(n) = prod(k=1, n, k/(n\k)); \\ Michel Marcus, Jun 24 2021
Formula
a(n) = n!/A010786(n).
Comments