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.

A105327 Numbers n such that pi(n)=pi(d_1!)+pi(d_2!)+...+pi(d_k!) where d_1 d_2 ...d_k is the decimal expansion of n.

Original entry on oeis.org

0, 1, 2, 115, 1626, 5370, 5371, 5570, 5571, 6170, 6171, 40854, 373369, 373469, 419386, 419658, 419685, 889609, 889619
Offset: 1

Views

Author

Farideh Firoozbakht, Apr 20 2005

Keywords

Comments

There is no further term (the proof is easy).

Examples

			889619 is in the sequence because pi(889619)=pi(8!)+pi(8!)+pi(9!)+pi(6!)+pi(1!)+pi(9!).
		

Crossrefs

Programs

  • Mathematica
    Do[h = IntegerDigits[m]; l = Length[h]; If[PrimePi[m] == Sum[PrimePi[h[[k]]! ], {k, l}], Print[m]], {m, 0, 3000000}]