The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A276497 Number of noncomposites in the reduced residue system of n-th primorial number, A002110(n). 0
1, 2, 8, 43, 339, 3243, 42325, 646022, 12283523, 300369787, 8028643000, 25948875073, 9414916809083, 362597750396727, 15397728527812844, 742238179058722876, 40068968501510691878 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = pi(primorial(n)) - n + 1, n > 0.
a(n) = A000849(n) - n + 1, n > 0.
a(n) = A048862(n) + 1. - Michel Marcus, Oct 03 2016
MATHEMATICA
Primorial[n_] := Product[Prime[j], {j, 1, n}];
Table[PrimePi[Primorial[n]] - n + 1, {n, 1, 12}]
PROG
(PARI) a(n) = primepi(prod(k=1, n, prime(k))) - n + 1; \\ Michel Marcus, Oct 03 2016
CROSSREFS
Sequence in context: A007169 A106327 A009309 * A324670 A334335 A283416
KEYWORD
nonn,more
AUTHOR
Andres Cicuttin, Sep 29 2016
EXTENSIONS
Definition aligned with formulas and data by Peter Munn, Sep 06 2023
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 June 3 15:40 EDT 2024. Contains 373063 sequences. (Running on oeis4.)