A101702 Numbers m such that the sum of the factorials of their digits is equal to the reversal of m.
1, 2, 541, 52100, 58504, 66410, 430000, 863180, 8601400, 17927300, 27927300, 31000000, 665100000, 3715000000, 6739630000, 11000000000, 21000000000, 53100000000, 70858000000, 79637300000, 451000000000, 1715000000000, 2715000000000, 48304000000000, 340000000000000, 5520000000000000
Offset: 1
Examples
665100000 is in the sequence because reversal(665100000) = 1566 = 6! + 6! + 5! + 1! + 0! + 0! + 0! + 0! + 0!.
Programs
-
Mathematica
Do[h = IntegerDigits[n]; l = Length[h]; If[FromDigits[Reverse[IntegerDigits[n]]] == Sum[h[[k]]!, {k, l}], Print[n]], {n, 10^9}]
Extensions
More terms from Donovan Johnson, Feb 26 2008
Comments