Quote:
Originally Posted by shivam_01 Questions I have solved these questions but the answer is not matching as given in the book please confirm puys 1)What is the last digit of 1!^1! + 2!^2! + 3!^3! +................100!^100! answer given 9 i am getting answer as 7 2)Find the number of zeros in 1!*2!*3!....*100! answer given 178 i am getting answer as 170  |
@
prince_chittu @Raghav @The mystique
for first one i took the approach that
after 5! onwards all the last digit would be zero only and for the 1! to 4! we need to take so
1 to power 1 last digit 1
2 to power 2 last digit 4
6 to power 6 last digit 6
24 to power 24 last digit 6
so 1 + 4 + 6 + 6 = 17
hence answer as 7
now second one the factorials
we need to check with powers of 5 only hence in that case the 1
1! to 4! has no powers of 5 so
from 5! to 9! each digit will contain the power of 5 just once so 5 appear 5 times
now from 10! to 14! 5 appear 10 times
15! to 19! appear 15 times
20! to 24! appear 20 times
keeping on same trend and summing it up i got the answer as
(5+10+15+20)+(30+35+40+45+50)+(60+65+70+75+80)+(90 +95+100+110+24)
answer as 419
please check puys there may be shorter method