Last 5 non-zero digits of 52025 ! 52025!

Find the last 5 non-zero digits of 52025 ! 52025! .

Notation : ! ! denotes the factorial notation. For example, 8 ! = 1 × 2 × 3 × × 8 8! = 1\times2\times3\times\cdots\times8 .


The answer is 92736.

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

1
2
3
4
5
6
7
8
9
from math import *
random = str(factorial(52025))
for num in range(1,len(random)):
-     if random[-num]=='0':
      continue
    if random[-num]!='0':
      for n in range(5):
        print(random[-num-n])
      break

Also for somewhatever reason I can't do Latex although before yesterday it was working just fine.

Anonymous1 Assassin - 4 months, 3 weeks ago

Also, whenever I try and write something under my code, the first line just disappears when I post it and it's really frustrating. Can you please fix this Brilliant?

Anonymous1 Assassin - 4 months, 3 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...