login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A057857
Number of residue classes modulo n-th primorial number which contain a prime.
2
1, 2, 4, 11, 52, 485, 5766, 92167, 1658888, 36495369, 1021870090, 30656102411, 1103619686412, 44144787456013, 1854081073152014, 85287729364992015, 4434961926979584016, 257227791764815872017, 15433667505888952320018
OFFSET
0,2
FORMULA
a(n) = A005867(n)+n = A002110(n) - A057858(n).
EXAMPLE
a(3) = 11 since 30 is the 3rd primorial number and 30k+m can be prime if m = 2, 3 or 5 (once each with k = 0) or m = 1, 7, 11, 13, 17, 19, 23 or 29 (each for an infinite number of values of k).
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Sep 08 2000
STATUS
approved