OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(2)=10 because 10 has only one pair of prime factors (2 and 5) and 10-2-5=3 which is prime.
MATHEMATICA
ptpQ[n_]:=PrimeOmega[n]==2&&PrimeQ[n-Total[Flatten[Table[#[[1]], #[[2]]]&/@ FactorInteger[n]]]]; Select[Range[500], ptpQ] (* Harvey P. Dale, Jun 04 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Chuck Seggelin (barkeep(AT)plastereddragon.com), Oct 11 2003
STATUS
approved