OFFSET
1,1
COMMENTS
The definition means that p+-2, p+-4, p+-6, p+-8, p+-10 and p+-12 are all composite. - N. J. A. Sloane, Jun 04 2008
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..1000
MATHEMATICA
q=12; 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, 2000], Prime[ #-1]+12<Prime[ # ]<Prime[ #+1]-12&]] (* Ray Chandler, May 02 2009 *)
Select[Partition[Prime[Range[2000]], 3, 1], Min[Differences[#]]>12&][[All, 2]] (* Harvey P. Dale, Apr 09 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Apr 29 2008
EXTENSIONS
Extended by Ray Chandler, May 02 2009
STATUS
approved