RE: Brainsteem Mathematics Challenges - Digital Sum

You are viewing a single comment's thread from:

Brainsteem Mathematics Challenges - Digital Sum

in mathematics •  7 years ago 

So 50! = 30414093201713378043612608166064768844377641568960512000000000000 and the sum is....216. But I can't get there other than by brute force.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Praise the speed of modern computers! Yeah I was stumped too. I know there is probably a clever way, but I was stuck just with "brute force" as well

Yes, it's very simple to compute that in many programming languages (I use Python) or tools (like Mathematica). I'm not even sure if there is an efficient analytical way to do it. I have play around a bit with it, but so far to no avail.