444 views

2 Answers

3 votes
3 votes
#(zeros)= # pairs of 5's and 2's in 2018!

# 5's in 2018! = $\left \lfloor 2018/5 \right \rfloor + \left \lfloor 2018/25 \right \rfloor + \left \lfloor 2018/125 \right \rfloor + \left \lfloor 2018/625 \right \rfloor$ =502

Obviously # 2's > # 5's.

So, # pairs(No of trailing zeros) = 502 which is min(#5s,#2s)
2 votes
2 votes
The number of $0's$ at the end is equal to the number of $5's$ at the end(Because of $10=2\times5$ and in any $N!\:\:\:\#5's<\#2's$).

$\left \lfloor \dfrac{2018}{5}\right \rfloor=403$

$\left \lfloor \dfrac{403}{5}\right \rfloor=80$

$\left \lfloor \dfrac{80}{5}\right \rfloor=16$

$\left \lfloor \dfrac{16}{5}\right \rfloor=3$

So, total number of $0's$ at the end $=403+80+16+3=502$

Related questions

1 votes
1 votes
0 answers
1
dd asked Jun 26, 2017
167 views
Prove that :$\begin{align*} &\text{For n , k , m are integers and } 0 < m \leq k < n \\ &\text{GCD}\left [ \binom{n}{m},\binom{n}{k} \right ] 1 \\ \end{align*}$
2 votes
2 votes
1 answer
2
sid1221 asked Nov 17, 2017
607 views
No of ways to distribute 6 different gifts to 2 student from total 4 student ? my approach ... distinct to distinct ... am getting 378 , given ans is 384 ... they permute...