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.

A099067 Numbers n such that n=P(d_1*d_2*...*d_k) + P(d_1+d_2+...+d_k) where d_1 d_2 ... d_k is the decimal expansion of n and P(i) is the i-th prime.

Original entry on oeis.org

82, 92, 194, 149868
Offset: 1

Views

Author

Farideh Firoozbakht, Oct 08 2004

Keywords

Comments

All terms of this sequence are even. Next term (if it exists) is greater than 25000000.

Examples

			149868 is in the sequence because 149868=149717+151=P(1*4*9*8*6*8)+P(1+4+9+8+6+8).
		

Crossrefs

Programs

  • Mathematica
    Do[h=IntegerDigits[n];l=Length[h];If[ !MemberQ[h, 0]&& n==Prime[Product[h[[k]], {k, l}]]+Prime[Sum[h[[k]], {k, l}]], Print[n]], {n, 25000000}]