OFFSET
1,1
COMMENTS
2*5=10-+3->7,13 primes,...
MATHEMATICA
f[n_]:=Last/@FactorInteger[n]=={1, 1}; lst={}; Do[If[f[n]&&PrimeQ[n-3]&&PrimeQ[n+3], AppendTo[lst, n]], {n, 0, 4*7!}]; lst
Select[Range[5000], PrimeOmega[#]==2&&AllTrue[#+{3, -3}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Nov 05 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Apr 09 2010
EXTENSIONS
Definition corrected by Zak Seidov, May 06 2013
STATUS
approved