|
|
A076359
|
|
a(n) = denominator(n!/phi(n!)).
|
|
2
|
|
|
1, 1, 1, 1, 4, 4, 8, 8, 8, 8, 16, 16, 192, 192, 192, 192, 3072, 3072, 55296, 55296, 55296, 55296, 110592, 110592, 110592, 110592, 110592, 110592, 442368, 442368, 13271040, 13271040, 13271040, 13271040, 13271040, 13271040, 477757440
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
COMMENTS
|
Numerator of Product_{p<=n, p prime} (1 - 1/p). - Franz Vrabec, Jan 28 2014
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
P:= 1: p:= 1: v:= 1:
while p < 100 do q:= nextprime(p);
for i from p to q-1 do A[i]:= v od;
P:= P * (1-1/q);
v:= numer(P);
p:= q;
od:
|
|
MATHEMATICA
|
dnf[n_]:=With[{nn=n!}, Denominator[nn/EulerPhi[nn]]]; Array[dnf, 40] (* Harvey P. Dale, Feb 21 2015 *)
|
|
PROG
|
(PARI) a(n) = numerator(prod(p=1, n, if (isprime(p), (1-1/p), 1))); \\ Michel Marcus, Jan 28 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,frac
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|