login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A088710
Numbers n which are a product of two primes j and k such that n-j-k is prime.
2
9, 10, 14, 15, 21, 26, 33, 35, 38, 39, 51, 62, 65, 69, 77, 86, 91, 93, 95, 111, 122, 123, 129, 133, 146, 159, 161, 201, 203, 206, 209, 213, 215, 217, 218, 221, 249, 278, 287, 291, 299, 301, 302, 303, 305, 321, 335, 339, 362, 371, 381, 386, 395, 398, 403, 407
OFFSET
1,1
LINKS
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
Cf. A001358.
Sequence in context: A369641 A169870 A261614 * A020199 A227943 A114844
KEYWORD
nonn
AUTHOR
Chuck Seggelin (barkeep(AT)plastereddragon.com), Oct 11 2003
STATUS
approved