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.

A084995 Numbers which can be written as the product of two different primes and the sum of digits is also prime.

Original entry on oeis.org

14, 21, 34, 38, 58, 65, 74, 85, 94, 106, 111, 115, 119, 122, 133, 142, 146, 155, 166, 201, 203, 205, 209, 214, 218, 221, 247, 254, 265, 274, 278, 287, 298, 302, 319, 326, 335, 346, 355, 362, 371, 377, 382, 386, 391, 395, 403, 407, 427, 445, 454, 458, 469, 478, 481, 485
Offset: 1

Views

Author

Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jun 30 2003

Keywords

Examples

			E.g., 14 = 7*2 and 1+4 = 5 is also prime.
		

Crossrefs

Programs

  • Mathematica
    Module[{nn=60},Select[Union[Times@@@Subsets[Prime[Range[nn]],{2}]],PrimeQ[ Total[ IntegerDigits[#]]]&&#<=2Prime[nn]&]] (* Harvey P. Dale, Feb 28 2022 *)
  • PARI
    is(n)={bigomega(n)==2 && !issquare(n) && isprime(sumdigits(n))}
    select(is, [1..500]) \\ Andrew Howroyd, Jan 05 2020

Formula

Intersection of A028834 and A006881. - Andrew Howroyd, Jan 05 2020

Extensions

Terms a(14) and beyond from Andrew Howroyd, Jan 05 2020