login
A101408
Primes p such that p+1000 or p-1000 are also primes.
3
13, 19, 31, 61, 97, 103, 109, 151, 163, 181, 193, 223, 229, 277, 283, 307, 367, 373, 409, 433, 439, 487, 499, 523, 571, 601, 607, 613, 619, 709, 733, 787, 811, 823, 877, 907, 997, 1013, 1019, 1031, 1039, 1061, 1063, 1069, 1087, 1097, 1103, 1109, 1129
OFFSET
1,1
COMMENTS
Primes that differ by 1000.
LINKS
EXAMPLE
13 and 1013=13+1000 are both primes and therefore are both terms.
1039 and 2039=1039+1000 are both primes and therefore are both terms.
MATHEMATICA
Select[Prime[Range[200]], (# > 1000 && PrimeQ[ # - 1000]) || PrimeQ[ # + 1000] &]
CROSSREFS
Sequence in context: A040047 A163847 A051644 * A023252 A279426 A241120
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Jan 15 2005
EXTENSIONS
Edited and extended by Ray Chandler, Jan 18 2005
STATUS
approved