login
A098710
a(n) = Product_{k|n} k!.
2
1, 2, 6, 48, 120, 8640, 5040, 1935360, 2177280, 870912000, 39916800, 99325771776000, 6227020800, 878757175296000, 941525544960000, 40493130637639680000, 355687428096000, 20073254719690742169600000, 121645100408832000, 50852245289883213496320000000, 1544990091272493465600000
OFFSET
1,2
EXAMPLE
a(6) = 1! 2! 3! 6! = 8640 because 1, 2, 3 and 6 are the positive divisors of 6.
MATHEMATICA
Table[z = 1; For[i = 1, i ? n, i++, If[Mod[n, i] == 0, z = z*i! ]]; z, {n, 1, 20}] (Handler)
Table[Product[k!, {k, Divisors[n]}], {n, 1, 20}] (* Vaclav Kotesovec, Sep 07 2019 *)
PROG
(PARI) a(n) = my(p=1); fordiv(n, d, p *= d!); p; \\ Michel Marcus, Sep 07 2019
CROSSREFS
Cf. A000178.
Sequence in context: A334807 A052596 A344676 * A337907 A052614 A052688
KEYWORD
nonn
AUTHOR
Leroy Quet, Sep 28 2004
EXTENSIONS
More terms from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Nov 15 2004
More terms from Michel Marcus, Sep 07 2019
STATUS
approved