OFFSET
1,1
COMMENTS
Primes that differ by 1000.
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
Chris Caldwell, List of small primes.
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
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Jan 15 2005
EXTENSIONS
Edited and extended by Ray Chandler, Jan 18 2005
STATUS
approved