Food for thought #1
In number theory, a ‘factorion’ in a given number base b is a natural number that equals the sum of the factorials of its digits. For example, 145 is a factorion because 1! + 4! + 5! = 1 + 24 + 120 = 145. Write a program to find out the number of factorions […]