|
|
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.
|
|
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
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Definition aligned with formulas and data by Peter Munn, Sep 06 2023
|
|
STATUS
|
approved
|
|
|
|