OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
7*3-2=13, 7*3+2=17,..
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[p*Floor[p/2]-2]&&PrimeQ[p*Floor[p/2]+2], AppendTo[lst, p]], {n, 2*7!}]; lst
Select[Prime[Range[3200]], AllTrue[# Floor[#/2]+{2, -2}, PrimeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 04 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Aug 17 2009
STATUS
approved