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

A161725
Primes p such that also p+30 and p-30 are primes.
1
37, 41, 43, 53, 59, 67, 71, 73, 83, 97, 101, 109, 127, 137, 167, 181, 193, 197, 211, 227, 241, 263, 281, 307, 337, 367, 379, 389, 409, 419, 431, 449, 461, 479, 491, 571, 577, 587, 601, 617, 631, 643, 647, 661, 739, 757, 827, 853, 857, 907, 911, 937, 941, 967
OFFSET
1,1
LINKS
EXAMPLE
The prime p=37 is in the sequence because 37-30=7 and 37+30=67 are also primes.
MATHEMATICA
q=6*5; lst={}; Do[p=Prime[n]; If[PrimeQ[p-q] && PrimeQ[p+q], AppendTo[lst, p]], {n, 5000}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition edited by Emeric Deutsch, Jun 28 2009
STATUS
approved