OFFSET
1,1
MATHEMATICA
cpQ[n_]:=Module[{p1=Ceiling[n/2]+n}, AllTrue[{p1, Ceiling[p1/2]+n}, PrimeQ]]; Select[Prime[Range[2000]], cpQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 29 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 24 2009
EXTENSIONS
Corrected and incorrect Mathematica program deleted by Harvey P. Dale, May 29 2017
STATUS
approved