login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

Sequence in context: A040047 A163847 A051644 * A023252 A279426 A241120

Adjacent sequences:  A101405 A101406 A101407 * A101409 A101410 A101411

KEYWORD

nonn

AUTHOR

Parthasarathy Nambi, Jan 15 2005

EXTENSIONS

Edited and extended by Ray Chandler, Jan 18 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 15 20:00 EST 2019. Contains 330000 sequences. (Running on oeis4.)