login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A076358 a(n) = numerator(n!/phi(n!)). 2
1, 2, 3, 3, 15, 15, 35, 35, 35, 35, 77, 77, 1001, 1001, 1001, 1001, 17017, 17017, 323323, 323323, 323323, 323323, 676039, 676039, 676039, 676039, 676039, 676039, 2800733, 2800733, 86822723, 86822723, 86822723, 86822723, 86822723, 86822723 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Denominator of Product_{p<=n, p prime} (1 - 1/p). - Franz Vrabec, Jan 28 2014
LINKS
FORMULA
a(n) = numerator(A000142(n)/A048855(n)).
MATHEMATICA
Numerator[#/EulerPhi[#]]&/@(Range[40]!) (* Harvey P. Dale, Apr 16 2016 *)
PROG
(PARI) a(n) = denominator(prod(p=1, n, if (isprime(p), (1-1/p), 1))); \\ Michel Marcus, Jan 28 2014
(PARI) first(n) = {my(res = vector(n), q = 2); res[1] = 1; res[2] = 1/2; forprime(p = 3, n, for(k = q + 1, p - 1, res[k] = res[k-1] ); res[p] = res[p-1]*(1-1/p); q = p; ); for(k = precprime(n)+1, n, res[k] = res[k-1] ); vector(n, i, denominator(res[i])) } \\ David A. Corneth, May 22 2020
CROSSREFS
Sequence in context: A109203 A362641 A039792 * A208798 A090522 A114728
KEYWORD
easy,nonn,frac
AUTHOR
Labos Elemer, Oct 08 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)