Finding the Exponent

Find the highest power of 125 that divides in 100 ! 100! .

Notation : ! ! denotes the factorial notation. For example, 8 ! = 1 × 2 × 3 × × 8 8! = 1\times2\times3\times\cdots\times8 .


The answer is 8.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

5 solutions

Alex G
May 26, 2016

Relevant wiki: Factorials Problem Solving - Intermediate

Note that 125 = 5 3 125 = 5^3 , so 12 5 n = 5 3 n 125^n=5^{3n}

We must find the largest n such that 5 3 n 100 ! 5^{3n}|100! . For this to be true, there must be 3 n 3n powers of 5 in the prime factorization of 100 ! 100! . As

100 ! = 100 99... = 2 2 5 2 3 2 11... 100!=100 \cdot 99 ... = 2^2\cdot 5^2 \cdot 3^2 \cdot 11 ...

we count numbers 100 \leq 100 whose prime factorization contains 5, as those are the only numbers which will contribute a 5 to the prime factorization of 100 ! 100! . We count multiples of 25 twice as they contain 5 2 5^2 in their prime factorization, and therefore contribute two 5's to the prime factorization of 100 ! 100! :

5 , 10 , 15 , 20 , 25 , 25 , 30 , 35 , 40 , 45 , 50 , 50 , 55 , 60 , 65 , 70 , 75 , 75 , 80 , 85 , 90 , 95 , 100 , 100 5, 10, 15, 20, 25, 25, 30, 35, 40, 45, 50, 50, 55, 60, 65, 70, 75, 75, 80, 85, 90, 95, 100, 100

We have 24 numbers, which means that 100 ! 100! contains 5 24 5^{24} in its prime factorization. Therefore,

5 3 n = 5 24 5^{3n}=5^{24}

n = 8 \boxed n=8

Nice solution! Instead of writing all the multiples down, you can use this formula.

Arulx Z - 5 years ago

same way :D

Brian Wang - 5 years ago
Hana Wehbi
May 28, 2016

A zero can be formed by the multiplication of 5 and 2. Since 100! contains more than 2's than 5's. We can find the maximum power of 5 contained in 100! \implies

100 2 \lfloor\frac{100}{2}\rfloor + 100 4 \lfloor\frac{100}{4}\rfloor + 100 8 \lfloor\frac{100}{8}\rfloor + 100 16 \lfloor\frac{100}{16}\rfloor + 100 32 \lfloor\frac{100}{32}\rfloor + 100 64 \lfloor\frac{100}{64}\rfloor = 50 + 25 + 12 + 6 + 3 + 1 = 97 50 + 25+12+6+3+1=97

100 5 \lfloor\frac{100}{5}\rfloor + 100 25 \lfloor\frac{100}{25}\rfloor = 20 20 + 4 4 = 24 24

So, there are 24 24 zero's at the end of 100! \implies 24 3 \frac{24}{3} = 8 8 , since 125 = 5 3 125=5^{3}

Nice but finding the highest power of 2 is redundant

Arulx Z - 5 years ago

Please clarify first step, here are all no are not fully divided, What are you telling??

Dharmendra Singh Hindustani - 4 years, 3 months ago

@Dharmendra Singh Hindustani , the first step was rebundant. It was finding the highest power of two and there was a typo, sorry about that. Just look at the second step and on.

Hana Wehbi - 4 years, 3 months ago

Log in to reply

Ok Thanks, But let this step is rebundant for above question. Is this statement is correct?? If yes then tell how 100/8=12 and other next terms??

Dharmendra Singh Hindustani - 4 years, 3 months ago

Log in to reply

Yeah, we are only taking the integer part, I forgot to put the floor function on each term.

Hana Wehbi - 4 years, 3 months ago
Armain Labeeb
Jul 24, 2016

Generalizing this:

Q. Find the highest power of k k that divides x x !

Formula to use:

f ( x ) = a = 1 x k a f(x) =\displaystyle\sum _{ a=1 }^{ \infty } \left\lfloor \frac { x }{ k^{ a } } \right\rfloor

Using the formula, we have

k = 8 k=\boxed{8}

You are finding the exponent of k k that divides in x ! x! , and then you say that k is 8. Moreover, if you will put x = 100 x=100 and k = 125 k=125 , you will get f ( x ) = 0 f(x)=0 . Here the need is to put k = 5 ( 125 = 5 3 ) k=5 (125=5^{3}) , and then you will get the exponent of 5 5 as 24 24 , giving the exponent of 125 125 as 8 8 .

Yash Jain - 4 years, 3 months ago
Umesh Konduru
Oct 4, 2020

There are 4 4 multiples of 25 25 and 20 20 multiples of 5 5 in 100 ! 100! . This means we could say there 16 16 numbers that are divisible by only 5 5 and 4 4 numbers divisible by 5 2 5^{2} , that is 24 24 5 5 s in total, or 8 8 125 125 s in the factorial of 100 100 .

As we know, 100 5 = 20 \frac{100}{5} = 20 , and this means that 100 ! = 5 20 a 100!=5^{20} \cdot a , also we know that 100 25 = 4 \frac{100}{25}=4 so 100 ! = 2 5 4 b 100!=25^{4} \cdot b . But from the second expression there is 5 4 5^{4} that weren't considered in the first expression, so we know 100 ! = 5 24 c = 12 5 8 c 100!=5^{24} \cdot c = 125^{8} \cdot c . So the answer is 8 8

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...