swerve wrote:What is the largest value of non-negative integer N for which 10^N is a factor of 50!?
A. 5
B. 6
C. 12
D. 15
E. 20
Source: GMAT Prep
$$N \geqslant 0\,\,\operatorname{int} \,\,{\text{such}}\,\,{\text{that}}\,\,\,\frac{{50!}}{{{{10}^N}}} = \operatorname{int} \,\,\,\,\,\mathop \Leftrightarrow \limits^{\left( * \right)} \,\,\,\,\,\boxed{\,N \geqslant 0\,\,\operatorname{int} \,\,{\text{such}}\,\,{\text{that}}\,\,\,\frac{{50!}}{{{5^N}}} = \operatorname{int} \,\,}$$
$$\left( * \right)\,\,{\rm{5s}}\,\,{\rm{are}}\,\,{\rm{fewer}}\,\,{\rm{than}}\,\,{\rm{2s}}\,\,$$
$$? = N\max $$
$$? = \left\lfloor {\frac{{50}}{5}} \right\rfloor + \left\lfloor {\frac{{50}}{{{5^2}}}} \right\rfloor + \underbrace {\left\lfloor {\frac{{50}}{{{5^3}}}} \right\rfloor \, + \ldots }_0 = 10 + 2 = 12\,\,$$
Full explanation:
https://www.beatthegmat.com/if-n-is-the ... tml#819465
This solution follows the notations and rationale taught in the GMATH method.
Regards,
Fabio.