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.

A097640 Numbers n such that n=(d_1+d_2+...+d_k)*prime(d_1+d_2+...+d_k) where d_1 d_2 ... d_k is the decimal expansion of n.

Original entry on oeis.org

152, 207, 444, 1098
Offset: 1

Views

Author

Farideh Firoozbakht, Aug 21 2004

Keywords

Examples

			444 is in the sequence because 444=(4+4+4)*prime(4+4+4).
		

Crossrefs

Cf. A097641.

Programs

  • Mathematica
    denQ[n_]:=Module[{tidn=Total[IntegerDigits[n]]},n==tidn Prime[tidn]]; Select[Range[1100],denQ] (* Harvey P. Dale, May 08 2012 *)