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.

A101697 Numbers n such that phi(n) is equal to d_1!+d_2!+...+d_k!, where d_1 d_2 ... d_k is the decimal expansion of n.

Original entry on oeis.org

1, 67585, 84466, 854696
Offset: 1

Views

Author

Farideh Firoozbakht, Dec 12 2004

Keywords

Examples

			854696 is in the sequence because phi(854696)=8!+5!+4!+6!+9!+6!.
		

Crossrefs

Cf. A100416.

Programs

  • Mathematica
    Do[h = IntegerDigits[n]; l = Length[h]; If[EulerPhi[n] == Sum[h[[k]]!, {k, l}], Print[n]], {n, 10000000}]