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

A100807
Primes p such that either (or both) p-10 or p+10 are primes.
0
3, 7, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 61, 71, 73, 79, 83, 89, 97, 103, 107, 113, 127, 137, 139, 149, 157, 163, 167, 173, 181, 191, 223, 229, 233, 239, 241, 251, 271, 281, 283, 293, 307, 317, 337, 347, 349, 359, 373, 379, 383, 389, 409, 419, 421, 431
OFFSET
1,1
EXAMPLE
Primes 3 and 13 differ by 10.
Primes 61 and 71 differ by 10.
MATHEMATICA
Select[ Prime[ Range[83]], PrimeQ[ # - 10] || PrimeQ[ # + 10] &] (* Robert G. Wilson v, Jan 12 2005 *)
CROSSREFS
Sequence in context: A117533 A065057 A363636 * A290400 A040999 A172240
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jan 04 2005
EXTENSIONS
More terms from Robert G. Wilson v, Jan 12 2005
STATUS
approved