OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
EXAMPLE
49 = 7*7, 2*7 + 1 = 15 (not prime);
91 = 7*13, 2*7 + 1 = 15 (not prime), 2*13 + 1 = 27 (not prime); ...
MATHEMATICA
lst={}; Do[If[Plus@@Last/@FactorInteger[n]==2, a=First/@FactorInteger[n]; b=a[[1]]; k=0; If[Length[a]==2, c=a[[2]]; If[PrimeQ[2*c+1], k=1]]; If[ !PrimeQ[2*b+1]&&k==0, AppendTo[lst, n]]], {n, 7!}]; lst
With[{nn=60}, Take[Times@@@Tuples[Select[Prime[Range[nn]], !PrimeQ[ 2#+1]&], 2] // Union, nn]] (* Harvey P. Dale, Feb 15 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Feb 27 2009
STATUS
approved