# How to find number of 0's in a factorial?

can anyone tell me how many zero's at the end of 100 factorial and how to calualate it

Note by Sai Venkata Raju Nanduri
5 years, 8 months ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

• bulleted
• list

1. numbered
2. list

1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

> This is a quote
This is a quote
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

We make a 10 by having a 2 and a 5 in the prime factorization. Since we obviously have more 2s than 5s in the prime factorization of 100!, we just need to find to find the number of 5s in the factorization of 100!. Of the first 100 integers 100/5=20 of then contain a 5 and 100/25 contain a second 5. Thus there are a total of 20+4=24 0s at the end of 100!.

- 5 years, 8 months ago

24 zeroes as [ 100/5 ] + [ 100/5^2 ] = 24

- 5 years, 8 months ago

using...gif....rite...?basic p and c

- 5 years, 8 months ago

what do you mean?

- 5 years, 8 months ago

i simply mean.....GREATEST INTEGER FUNCTION i.e. GIF or step up function...... do i need to xplain the soln...? :)

- 5 years, 8 months ago

Oh that, I know how to solve it. I didn't understand your comment, that is it.

- 5 years, 8 months ago

ok....:)

- 5 years, 8 months ago

gif and rite and "p and c" are not in my normal vocab, so I didn't get it at first either.

- 5 years, 8 months ago

its permutations and combinations....:)

- 5 years, 8 months ago

Numbers of zeros in factorial is equal to \sum_{i=1}^k \lfloor \frac{n}{5^i} \rfloor where 5^k \leq n

- 5 years, 8 months ago

WE HAVE TO FIND THE NUMBER OF 5'S GREATEST INTEGER FUNCTION(100/5) + GREATEST INTEGER FUNCTION(100/5^2 ) SO THER WILL BE 24 ZEROS

- 5 years, 8 months ago

I suggest turning off the "Caps Lock" button. It would make all of us a little happier.

- 5 years, 8 months ago

He initially typed in "$$29$$ ZEROS",and thought that others were wrong and he was right. So that is why the use of caps. Modified his answer later.

- 5 years, 8 months ago