Knowee
Questions
Features
Study Tools

How many zeroes at the end of 100!?

Question

How many zeroes at the end of 100!?

🧐 Not the exact question you are looking for?Go ask a question

Solution

The number of trailing zeros in the decimal representation of n!, the factorial of a non-negative integer n, can be determined with the formula:

Z(n) = floor(n/5) + floor(n/25) + floor(n/125) + ...

This formula essentially counts the number of factors of 5 in n!, because each factor of 5 will contribute one trailing zero (and factors of 2 are more common).

So, for 100!:

Z(100) = floor(100/5) + floor(100/25) + floor(100/125) + ...

= 20 + 4 + 0 + ...

= 24

So, there are 24 trailing zeros in the decimal representation of 100!.

This problem has been solved

Similar Questions

How many zeros are there in 100!? Options :21242322

How many zeros are there in 100!? Options : 21 24 23 22

Find the number of zeros in 101!

Find the number of zeros at the end of 50!

How many trailing zeros are there in 55! ?

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.