OFFSET
1,1
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[p=Floor[p/2]+p], If[PrimeQ[p=Floor[p/2]+p], AppendTo[lst, Prime[n]]]], {n, 7!}]; lst
prQ[n_]:=Module[{p1=Floor[n/2]+n}, AllTrue[{p1, Floor[p1/2]+p1}, PrimeQ]]; Select[Prime[Range[1600]], prQ] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Apr 21 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 24 2009
EXTENSIONS
Definition corrected by Harvey P. Dale, Apr 21 2016
STATUS
approved