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.

A088710 Numbers m which are a product of two primes j and k such that m-j-k is prime.

Original entry on oeis.org

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

Views

Author

Chuck Seggelin, Oct 11 2003

Keywords

Examples

			10 is a term because 10 has only one pair of prime factors (2 and 5) and 10-2-5=3 which is prime.
		

Crossrefs

Cf. A001358.

Programs

  • 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 *)