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”).

A140551
Primes p such that neither |p - 30| nor |p + 30| is prime.
0
2, 3, 5, 173, 191, 331, 373, 421, 443, 467, 499, 503, 523, 619, 641, 659, 701, 719, 733, 751, 761, 811, 821, 863, 919, 929, 1097, 1103, 1109, 1129, 1213, 1237, 1283, 1301, 1303, 1361, 1367, 1373, 1381, 1427, 1433, 1447, 1471, 1487, 1499, 1531, 1543
OFFSET
1,1
MATHEMATICA
Select[Prime[Range[500]], !PrimeQ[#-30]&&!PrimeQ[#+30]&] (* Harvey P. Dale, Apr 16 2011 *)
CROSSREFS
Sequence in context: A325505 A366642 A319609 * A064936 A041655 A082520
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected (3, 5, 331 inserted) by R. J. Mathar, Apr 25 2010
Corrected (19 deleted) by Harvey P. Dale, Apr 16 2011.
STATUS
approved