A positive integer n is called fair if the sum of the factorial of its digits is divisible by itself. 145 is one such number : 1!+4!+5!=145≡0(mod145) Find the sum of all the fair numbers less than 107.
Your answer seems reasonable.
Find out if you're right!