Aashu Aggarwal

Greenhorn
+ Follow
since Aug 01, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aashu Aggarwal

fred rosenberger wrote:Check the java API for something that might let you work with a Big Integer...



Thanks Fred. That worked perfectly :-)
11 years ago
Problem statement -

n! means n (n 1) ... 3 2 1

For example, 10! = 10 9 ... 3 2 1 = 3628800,
and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27.

Find the sum of the digits in the number 100!



I am trying to solve it but 100! is big even for long. I thought i can try to break the factorial in parts and then solve it but still in end i have to multiply all the results which overshoot the long.

Looking for some guidance.

Thanks,
Aashu
11 years ago
Thanks Matthew for letting me know the site. I am sorry that i posted answer here. Will check on site now on.
11 years ago
I have tried to solve it. Is the final sum of all palindromes is xxxxxx?
11 years ago