You are viewing a single comment's thread. Return to all comments →
Your values from 41 are wrong!
G[42] = 344479; 42 = sf(344479) 42 = s(3! + 4! + 4! + 4! + 7! + 9!) 42 = s( 6 + 24 + 24 + 24 + 5040 + 362880) 42 = s(367998) 42 = 3 + 6 + 7 + 9 + 9 + 8
There are no number n smaller than 344479 which gives sf(n)=42.
n
344479
sf(n)=42
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Project Euler #254: Sums of Digit Factorials
You are viewing a single comment's thread. Return to all comments →
Your values from 41 are wrong!
There are no number
n
smaller than344479
which givessf(n)=42
.