Skip to content

Latest commit

 

History

History

034

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Digit factorials

145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.

Find the sum of all numbers which are equal to the sum of the factorial of their digits.

Note: as 1! = 1 and 2! = 2 are not sums they are not included.

Performance

Try it online!

Real time: 0.466 s
User time: 0.387 s
Sys. time: 0.135 s
CPU share: 111.86 %
Exit code: 0