pull down to refresh
2+24+120+40,320+6+6=2,458,333
Nice try ;)
reply
what do you mean?
Nevermind, you are right.
Strongest number you can achieve is 40585.
reply
I don't think your sum is correct...
import math
number = 2458333
sum_of_factorials = sum(math.factorial(int(digit)) for digit in str(number))
print(sum_of_factorials, number == sum_of_factorials)reply
2,458,333
2!+4!+5!+8!+3!+3!=2+24+120+40,320+6+6=2,458,333