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.

A118722 Chen primes for which the product of the digits is also a Chen prime.

Original entry on oeis.org

2, 3, 5, 7, 13, 17, 31, 71, 113, 131, 211, 311, 1117, 1151, 1511, 2111, 11117, 11171, 131111, 311111, 511111, 1111151, 1111211, 1111711, 1117111, 11111117, 11111171, 71111111
Offset: 1

Views

Author

Luc Stevens (lms022(AT)yahoo.com), May 21 2006

Keywords

Examples

			31 is in the sequence because (1) it is a Chen prime and (2) the product of its digits 3*1=3 is also a Chen prime.
		

Crossrefs

Cf. A109611.

Programs

  • Mathematica
    chenQ[n_]:=Module[{pidn=Times@@IntegerDigits[n]},PrimeQ[pidn]&&PrimeOmega[ pidn+2]<3]; With[{chen=Select[Prime[Range[4200000]],PrimeOmega[#+2]<3&]},Select[chen,chenQ]] (* Harvey P. Dale, Apr 22 2012 *)