edited by
1,030 views
3 votes
3 votes

The number of trailing zeros in $100!$ is

  1. $21$
  2. $23$
  3. $24$
  4. $25$
edited by

5 Answers

0 votes
0 votes

This is a direct application of Legendre's formula.

For any factorial, the largest exponent of a prime number say ‘p’ in the factorial of any number say ‘x’ can be found out using the formula shown below:

$\left \lfloor \dfrac{x}{p} \right \rfloor + \left \lfloor \dfrac{x}{p^{2}} \right \rfloor + \left \lfloor \dfrac{x}{p^{3}} \right \rfloor+ …. until \: becomes \:zero$

Logical Proof: Suppose you want to find exponent of 2 in 10! i.e. $1.2.3.4.5.6.7.9.10$

Then 2,4,6,8 and 10 will contribute single 2. Therefore we have 5 twos.

BUT BUT BUT, 4 has one more 2 to contribute. And similarly, 8 has 2 more twos to contribute,

Therefore when we do $\left \lfloor \dfrac{10}{4} \right \rfloor $ we cover one 2 of 4 and one 2 of 8 (since 4 is a factor of 8).

Similarly when we do $\left \lfloor \dfrac{10}{8} \right \rfloor $ we cover the third 2 of 8.

And therefore $\left \lfloor \dfrac{10}{2} \right \rfloor + \left \lfloor \dfrac{10}{2^{2}} \right \rfloor + \left \lfloor \dfrac{10}{2^{3}} \right \rfloor=8$, which means 2 has exponent 8 in the 10!.

NOTE: For finding out the exponent of any non-prime number, first find the exponent of its prime factors and then using the concept of bottleneck (i.e.whichever factor is limiting needs to be considered) derive the exponent.

Related questions

1 votes
1 votes
1 answer
1
akash.dinkar12 asked May 11, 2019
977 views
Number of real solutions of the equation $x^7 + 2x^5 + 3x^3 + 4x = 2018$ is$1$$3$$5$$7$
2 votes
2 votes
1 answer
2
akash.dinkar12 asked May 11, 2019
734 views
The sum of the infinite series $1+\frac{2}{3}+\frac{6}{3^2}+\frac{10}{3^3}+\frac{14}{3^4}+\dots $ is$2$$3$$4$$6$
0 votes
0 votes
1 answer
3
akash.dinkar12 asked May 11, 2019
700 views
The $x$-axis divides the circle $x^2 + y^2 − 6x − 4y + 5 = 0$ into two parts. The area of the smaller part is$2\pi-1$$2(\pi-1)$$2\pi-3$$2(\pi-2)$
0 votes
0 votes
1 answer
4
akash.dinkar12 asked May 11, 2019
758 views
The angle between the tangents drawn from the point $(1, 4)$ to the parabola $y^2 = 4x$ is$\pi /2$$\pi /3$$\pi /4$$\pi /6$