Question
Question: What is the highest power of \[5\] that divides \(x = 100!\)....
What is the highest power of 5 that divides x=100!.
Solution
By the definition of factorial, factorial of a number is the product of all natural numbers from one to that number. So to check the highest power of a certain number in a factorial we have to check the factor in every terms of the product.
Formula used:
For any natural number n, n! (factorial of n) is given by n!=n×(n−1)×(n−2)×...×3×2×1
For any a,x,y, we have ax×ay=ax+y
Complete step-by-step answer:
Here we are asked to find the highest power of 5 that divides 100!.
Given x=100!
For any natural number n, n! (factorial of n) is given by n!=n×(n−1)×(n−2)×...×3×2×1
⇒x=100×99×98×...×3×2×1−−−(i)
To find the highest power of 5 that divides x, we have to find how many times 5 is multiplied in the above product.
For that first we can list the multiples of 5 in the representation (i).
We can see there are 20 multiples of 5 which are 5,10,15,20,...,95,20.
Let A=5×10×15×...×95×100
So, we can write (i) as x=A×B where B is the product of the remaining terms which are not included in A.
Since B does not contain any multiples of 5, we can leave B and focus on A.
We can rewrite A as
A=5×1×5×2×5×3...×5×19×5×20
Taking all 5 together we have,
⇒A=5×5×...×5(20times)×1×2×...×19×20
⇒A=520×1×2×...×19×20
Now we can see that the expression 1×2×...×19×20 contains 4 multiples of 5 which are 5,10,15&20.
This gives A=520×5×10×15×20×C, where C is the product of remaining terms.
⇒A=520×5×1×5×2×5×3×5×4×C
⇒A=520×5×5×5×5×1×2×3×4×C
Simplifying we get,
⇒A=520×54×1×2×3×4×C
Returning to the equation x=A×B we get,
⇒x=520×54×1×2×3×4×C×B
⇒x=524×D ( since ax×ay=ax+y and D=1×2×3×4×C×B)
Since D contains no multiple of 5, we have the highest power of 5 in x is 24.
∴ The answer is 24.
Note: We have another simple method to solve this question.
For some natural number n and prime number p, highest power of p dividing n! is given by pn+p2n+p3n+...
Here, n=100,p=5
So highest power of 5 dividing 100! is 5100+52100+53100+...=5100+25100+125100+...=20+4+0=24