pull down to refresh
135 sats \ 3 replies \ @Satosora 20 Sep \ on: 145 - what is special about this number? charts_and_numbers
2,458,333
2!+4!+5!+8!+3!+3!=2+24+120+40,320+6+6=2,458,333
2+24+120+40,320+6+6=2,458,333
Nice try ;)
reply
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