A101698 Numbers n such that n = d_1*d_1!+d_2*d_2!+...+d_k*d_k!, where d_1 d_2 ... d_k is the decimal expansion of n.
0, 1, 684817, 3371797
Offset: 1
Examples
3371797 is in the sequence because 3371797 = 3*3!+3*3!+7*7!+1*1!+7*7!+9*9!+7*7!.
Programs
-
Mathematica
Do[If[n==Apply[Plus, IntegerDigits[n]*IntegerDigits[n]! ], Print[n]], {n, 26000000}]