Can you solve it in 5 sec

If n n is an integer greater than or equals to 5, find the unit digit of 1 ! + 2 ! + 3 ! + + n ! 1!+2!+3!+\ldots+n! .


The answer is 3.

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.

2 solutions

Try the first factorials:

1 ! = 1 1!=1 2 ! = 2 2!=2 3 ! = 6 3!=6 4 ! = 24 4!=24 5 ! = 120 5!=120 6 ! = 720 6!=720 \ldots

We can realize that because of 2 × 5 = 10 2\times 5=10 , it forms an additional trailing zero. Therefore, we just add non-trailing-zero factorials:

1 + 2 + 6 + 24 = 3 3 1+2+6+24=3\boxed{3}

nice solution.

Shakil Ahmed - 5 years, 9 months ago

two1!+2!+3!+...+n! what is the last two

Bunneng Nath - 5 years ago
Shyam Gupta
Aug 26, 2015

5! and above has unit digit as 0 .. so we have to calculate for 1!+2!+3!+4! = 1+2+6+4= 3

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...