cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A088709 Numbers m that are a product of two primes j and k such that m+j+k is prime.

Original entry on oeis.org

6, 10, 14, 15, 21, 26, 33, 34, 35, 38, 46, 51, 55, 57, 58, 65, 74, 85, 86, 93, 111, 118, 123, 141, 143, 145, 155, 158, 161, 166, 177, 178, 185, 194, 201, 203, 205, 206, 209, 215, 221, 254, 267, 278, 295, 298, 319, 321, 323, 326, 327, 329, 334, 341, 346, 355, 365
Offset: 1

Views

Author

Chuck Seggelin, Oct 11 2003

Keywords

Examples

			a(2)=10 because 10 has only one pair of prime factors (2 and 5) and 10 + 2 + 5 = 17, which is prime.
		

Crossrefs

Cf. A001358.

Programs

  • Mathematica
    ptpQ[n_]:=Module[{fi=FactorInteger[n]},Length[fi]==2&&Union[ fi[[All,2]]] == {1}&&PrimeQ[n+Total[fi[[All,1]]]]]; Select[Range[400],ptpQ] (* Harvey P. Dale, Nov 06 2020 *)