

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.


3




OFFSET

1,2


LINKS



EXAMPLE

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


MATHEMATICA

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


CROSSREFS



KEYWORD

base,fini,full,nonn


AUTHOR



STATUS

approved



