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.

A228119 Numbers n such that n * (product of digits of n) + 1 is prime.

Original entry on oeis.org

1, 2, 4, 6, 16, 21, 22, 23, 24, 25, 26, 27, 28, 29, 32, 34, 42, 52, 61, 65, 66, 69, 72, 83, 84, 86, 92, 98, 114, 123, 134, 138, 161, 165, 169, 176, 186, 192, 213, 216, 219, 222, 223, 228, 239, 249, 253, 256, 258, 259, 265, 273, 286, 289, 292, 293, 294, 297
Offset: 1

Views

Author

Jayanta Basu, Aug 14 2013

Keywords

Examples

			16 is a member since 16 * (product of digits of 16) + 1 = 16*6 + 1 = 97 is a prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[300], PrimeQ[(#*Times @@ IntegerDigits[#]) + 1] &]