|
|
A240023
|
|
Product of factorials of prime divisors of n (with multiplicity).
|
|
1
|
|
|
1, 2, 6, 4, 120, 12, 5040, 8, 36, 240, 39916800, 24, 6227020800, 10080, 720, 16, 355687428096000, 72, 121645100408832000, 480, 30240, 79833600, 25852016738884976640000, 48, 14400, 12454041600, 216, 20160, 8841761993739701954543616000000, 1440
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Completely multiplicative with a(p) = p!.
Sum_{n>=1} 1/a(n) = 1/Product_{p prime} (1 - 1/p!) = 2.42064841562992124691... . - Amiram Eldar, Dec 24 2022
|
|
MAPLE
|
a:= n-> mul(i[1]!^i[2], i=ifactors(n)[2]):
|
|
MATHEMATICA
|
f[p_, e_] := p!^e; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 30] (* Amiram Eldar, Aug 04 2022 *)
|
|
PROG
|
(PARI) a(n)=local(fm=factor(n)); prod(k=1, matsize(fm)[1], fm[k, 1]!^fm[k, 2])
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,mult
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|