×

# Generalization of a Factorial Problem

Find the smallest positive integer $$n$$ such that $$n!$$ has $$z$$ zeroes.

Try to generalize the following problem.

Note by Swapnil Das
1 year, 5 months ago

Sort by:

In the question of Zeroes all around by Akshat Sharda, I generalize the formula as $z = \sum_{i=1}^{\left \lfloor log_5n \right \rfloor} \left \lfloor \frac{n}{5^i} \right \rfloor$

and Akshat Sharda himself provided that the quick approximation is $$n = 4z$$. To find the exact form, it is necessary to add a few more number to this sum to find the right $$n$$ · 1 year, 5 months ago

Oh Yes !! · 1 year, 5 months ago