Fast Factorial

What are the last 3 3 digits of 1 ! + 2 ! + + 100 ! 1!+2!+\cdots +100!


The answer is 313.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Alex Delhumeau
May 17, 2015

SInce the first factorial with 3 trailing zeros is 15 ! = 1307674368000 15!=1307674368000 , any factorials after 14 ! 14! will not change the last 3 digits of n = 1 100 n ! \sum_{n=1}^{100}{n!} .

Knowing this, it becomes clear that taking n = 1 14 n ! ( m o d 1000 ) \sum_{n=1}^{14}{n!} \pmod{1000} (trivial arithmetic) gives the sought after answer of 313 \boxed{313} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...