Solveeit Logo

Question

Question: What is the highest power of \[5\] that divides \(x = 100!\)....

What is the highest power of 55 that divides x=100!x = 100!.

Explanation

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, n!n! (factorial of nn) is given by n!=n×(n1)×(n2)×...×3×2×1n! = n \times (n - 1) \times (n - 2) \times ... \times 3 \times 2 \times 1
For any a,x,ya,x,y, we have ax×ay=ax+y{a^x} \times {a^y} = {a^{x + y}}

Complete step-by-step answer:
Here we are asked to find the highest power of 55 that divides 100!100!.
Given x=100!x = 100!
For any natural number n,n, n!n! (factorial of nn) is given by n!=n×(n1)×(n2)×...×3×2×1n! = n \times (n - 1) \times (n - 2) \times ... \times 3 \times 2 \times 1
x=100×99×98×...×3×2×1(i)\Rightarrow x = 100 \times 99 \times 98 \times ... \times 3 \times 2 \times 1 - - - (i)
To find the highest power of 55 that divides xx, we have to find how many times 55 is multiplied in the above product.
For that first we can list the multiples of 55 in the representation (i)(i).
We can see there are 2020 multiples of 55 which are 5,10,15,20,...,95,205,10,15,20,...,95,20.
Let A=5×10×15×...×95×100A = 5 \times 10 \times 15 \times ... \times 95 \times 100
So, we can write (i)(i) as x=A×Bx = A \times B where BB is the product of the remaining terms which are not included in AA.
Since BB does not contain any multiples of 55, we can leave BB and focus on AA.
We can rewrite AA as
A=5×1×5×2×5×3...×5×19×5×20A = 5 \times 1 \times 5 \times 2 \times 5 \times 3... \times 5 \times 19 \times 5 \times 20
Taking all 55 together we have,
A=5×5×...×5(20times)×1×2×...×19×20\Rightarrow A = 5 \times 5 \times ... \times 5(20times) \times 1 \times 2 \times ... \times 19 \times 20
A=520×1×2×...×19×20\Rightarrow A = {5^{20}} \times 1 \times 2 \times ... \times 19 \times 20
Now we can see that the expression 1×2×...×19×201 \times 2 \times ... \times 19 \times 20 contains 44 multiples of 55 which are 5,10,15&205,10,15\& 20.
This gives A=520×5×10×15×20×CA = {5^{20}} \times 5 \times 10 \times 15 \times 20 \times C, where CC is the product of remaining terms.
A=520×5×1×5×2×5×3×5×4×C\Rightarrow A = {5^{20}} \times 5 \times 1 \times 5 \times 2 \times 5 \times 3 \times 5 \times 4 \times C
A=520×5×5×5×5×1×2×3×4×C\Rightarrow A = {5^{20}} \times 5 \times 5 \times 5 \times 5 \times 1 \times 2 \times 3 \times 4 \times C
Simplifying we get,
A=520×54×1×2×3×4×C\Rightarrow A = {5^{20}} \times {5^4} \times 1 \times 2 \times 3 \times 4 \times C
Returning to the equation x=A×Bx = A \times B we get,
x=520×54×1×2×3×4×C×B\Rightarrow x = {5^{20}} \times {5^4} \times 1 \times 2 \times 3 \times 4 \times C \times B
x=524×D\Rightarrow x = {5^{24}} \times D ( since ax×ay=ax+y{a^x} \times {a^y} = {a^{x + y}} and D=1×2×3×4×C×BD = 1 \times 2 \times 3 \times 4 \times C \times B)
Since DD contains no multiple of 55, we have the highest power of 55 in xx is 2424.
\therefore The answer is 2424.

Note: We have another simple method to solve this question.
For some natural number nn and prime number pp, highest power of pp dividing n!n! is given by np+np2+np3+...\dfrac{n}{p} + \dfrac{n}{{{p^2}}} + \dfrac{n}{{{p^3}}} + ...
Here, n=100,p=5n = 100,p = 5
So highest power of 55 dividing 100!100! is 1005+10052+10053+...=1005+10025+100125+...=20+4+0=24\dfrac{{100}}{5} + \dfrac{{100}}{{{5^2}}} + \dfrac{{100}}{{{5^3}}} + ... = \dfrac{{100}}{5} + \dfrac{{100}}{{25}} + \dfrac{{100}}{{125}} + ... = 20 + 4 + 0 = 24