login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137875 Prime numbers, isolated from neighboring primes by >16. 3
2179, 2503, 3967, 4177, 7369, 7393, 11027, 11657, 14107, 14369, 15859, 16033, 16301, 16787, 17257, 18013, 18617, 18637, 18839, 19121, 19661, 20201, 20663, 21247, 21911, 22229, 23227, 23251, 23399, 23719, 24281, 24571, 24593, 25013 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The definition means that p+-2, p+-4, p+-6, p+-8, p+-10, p+-12, p+-14 and p+-16 are all composite. - N. J. A. Sloane, Jun 04 2008

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..5000

MATHEMATICA

q=16; s=""; For[i=1, i<12^2, p=Prime[i]; a=0; For[j=2, j<=q, If[PrimeQ[p-j]||PrimeQ[p+j], a=1; Break[]]; j=j+2]; If[a==0, s=s<>ToString[p]<>", "]; i++ ]; Print[s]

Prime[Select[Range[2, 3000], Prime[ #-1]+16<Prime[ # ]<Prime[ #+1]-16&]] (* Ray Chandler, May 02 2009 *)

Select[Partition[Prime[Range[3000]], 3, 1], Min[Differences[#]]>16&][[All, 2]] (* Harvey P. Dale, Jul 25 2019 *)

CROSSREFS

Sequence in context: A107566 A073142 A137874 * A020425 A253519 A281562

Adjacent sequences:  A137872 A137873 A137874 * A137876 A137877 A137878

KEYWORD

nonn

AUTHOR

Vladimir Joseph Stephan Orlovsky, Apr 29 2008

EXTENSIONS

Extended by Ray Chandler, May 02 2009

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 September 22 22:24 EDT 2020. Contains 337291 sequences. (Running on oeis4.)