cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A076359 a(n) = denominator(n!/phi(n!)).

Original entry on oeis.org

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
Offset: 1

Views

Author

Labos Elemer, Oct 08 2002

Keywords

Comments

Numerator of Product_{p<=n, p prime} (1 - 1/p). - Franz Vrabec, Jan 28 2014

Crossrefs

Programs

  • 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:
    seq(A[i],i=1..q-1); # Robert Israel, Oct 18 2018
  • Mathematica
    dnf[n_]:=With[{nn=n!},Denominator[nn/EulerPhi[nn]]]; Array[dnf,40] (* Harvey P. Dale, Feb 21 2015 *)
  • PARI
    a(n) = numerator(prod(p=1, n, if (isprime(p),(1-1/p), 1))); \\ Michel Marcus, Jan 28 2014

Formula

a(n) = denominator(A000142(n)/A048855(n)).
a(n) = A038110(A036234(n)). - Robert Israel, Oct 18 2018
Showing 1-1 of 1 results.