+ 1
Coding challenge factorial property
145 is a special number in factorial land because it is equal to the sum of the individual factorial numbers. i.e. 1! + 4! + 5! == 1 + 24 + 120 = 145 What is the next number with these properties ? https://code.sololearn.com/cF31RpVQayzs/?ref=app
3 Respostas
+ 1
It's 40585. Here you go, checks for valid input. Also counts 1! and 2! since their factorials equal their regular integers.
https://code.sololearn.com/c0YADo52URrq/?ref=app
0
Thanks for your Contribution in python !
0
Always!