3 votes 3 votes The highest power of $7$ that divides $100!$ is : $14$ $15$ $16$ $18$ Quantitative Aptitude isi2019-mma general-aptitude quantitative-aptitude + – Sayan Bose asked May 5, 2019 • edited May 13, 2019 by akash.dinkar12 Sayan Bose 3.6k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 5 votes 5 votes $\lfloor \frac{100}{7} \rfloor$ + $\lfloor \frac{100}{7^2}\rfloor$ + $\lfloor \frac{100}{7^3}\rfloor$ +.... = 14 + 2 + 0 + .... = 16 Answer is C pratekag answered May 6, 2019 • edited May 10, 2019 by akash.dinkar12 pratekag comment Share Follow See all 6 Comments See all 6 6 Comments reply srestha commented May 9, 2019 reply Follow Share is it direct formula? 0 votes 0 votes Sayan Bose commented May 9, 2019 reply Follow Share Yes @srestha , if p is a prime number , then the highest power of p in a factorial of n is given by $\frac{n}{p}$ + $\frac{n}{p^2}$ + $\frac{n}{p^3}$ + .... 2 votes 2 votes pratekag commented May 9, 2019 reply Follow Share what is more important is how this formula is derived? It is a great brain teasing exercise to derive this formula :) 0 votes 0 votes srestha commented May 9, 2019 reply Follow Share yes, do u got the logic?? 0 votes 0 votes s_dr_13 commented Jul 8, 2019 reply Follow Share Can you explain your logic behind this formula ? 0 votes 0 votes chirudeepnamini commented Jan 5, 2020 reply Follow Share @s_dr_13 Let us look at this example.. we have to count the number of 5's in the product $1*2*3*4....*999*1000$ to get the power of 5. step 1: $\left \lfloor 100/5 \right \rfloor=200$ gives the number of integers between 1 and 1000 that has 5 as their divisor. i.e gives the cardinality of set$\{5,10,15,20,25.....995,1000\}$ each of these numbers contribute a 5 to the product $1*2*3*4....*999*1000$ step 2: $\left \lfloor 1000/5^{2} \right \rfloor=40$ gives the number of integers between 1 and 1000 that have 25 as their divisor. i.e gives the cardinality of set $\{25,50,75.....975,1000\}$.Each of these numbers contribute two 5's to the product. But the thing to note is ,we have already counted one 5 for each integer in the step 1.So on total,each element of set contributes only one 5 for the product. Step 3: $\left \lfloor 1000/5^{3} \right \rfloor=8$ gives the number of integers between 1 and 1000 that contribute three 5's to the product. i.e gives the cardinality of set $\{125,250,375.....875,1000\}$.Each of these numbers contribute three 5's to the product. But we have already counted one 5 for each integer in step 1 and one 5 for each integer in step 2. So on total, each element of set contributes only one 5 for the product. Step 5: similarly, $\left \lfloor 1000/5^{4} \right \rfloor=1$ gives the cardinality of set $\{625\}$ which has 625 as their divisor. i.e 625 contributes four 5's to the product.. But we have counted three 5's in each of step 1,step 2,step3.So essentially 625 contributes only one 5 to the product. The below diagram represents what we have done till now... one 5 striked off means one 5 is counted.. $\{5,10,15,20,25.....995,1000\}$,$\{25,50,75.....975,1000\}$,$\{125,250,375.....875,1000\}$,$\{625\}$ So to be short, each element of the above sets contributes one 5 to the product $1*2*3...*999*1000$ whose cardinality is given by $\left \lfloor 1000/5 \right \rfloor$, $\left \lfloor 1000/5^{2} \right \rfloor$, $\left \lfloor 1000/5^{3} \right \rfloor$, $\left \lfloor 1000/5^{4} \right \rfloor$ respectively... similarly we can work for other examples.. Let me know if you have any doubts.. Even iam not satisfied with my explanation :( 0 votes 0 votes Please log in or register to add a comment.