Factors And Factorials

Let 4 2 N 42 ^ {N} be the highest power of 42 that divides 1000 ! 1000! . What is the value of N N ?


The answer is 164.

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.

8 solutions

Siddharth G
Feb 21, 2014

The key to this is the greatest integer function. Since 7 is the highest prime factor of 42 ,we have to find the following:

Floor of 1000/ 7 1 7^1 = 142

Floor of 1000/ 7 2 7^2 = 20

Floor of 1000/ 7 3 7^3 = 2

Therefore the answer is

142 + 20 + 2 = 164 \boxed{164}

As an aside, if the number was 189 = 3 3 × 7 189 = 3^3 \times 7 , then we would have to count the multiples of 3. It is not immediately obvious that there are enough of them.

Calvin Lin Staff - 7 years, 3 months ago

Log in to reply

yeah, but in this question the primes are raised to the 1st power. So, checking the highest prime is sufficient

Soumya Chakraborty - 7 years, 3 months ago

Thanks! Forgot to mention that.

Siddharth G - 7 years, 3 months ago

In that case don't we have to calculate the power 27, i. e., 3 3 3^3 in the given no.?

Maharnab Mitra - 7 years, 3 months ago

Log in to reply

Find the maximum power of 3 in the number and divide it by 3

let's say, for 1000!

1000/3 = 333

333/3 = 111

111/3 = 37

37/3 = 12

12/3 = 4

4/3 = 1

Adding all the quotients: 333 + 111 + 37 + 12 + 4 + 1 = 498

dividing 498 / 3 = 166

The max power of 3 3 3^{3} is 166

As, is the matter, the max power of 7 is still less (164), so max power of 189 should also be 164

Soumya Chakraborty - 7 years, 3 months ago

Log in to reply

@Soumya Chakraborty Good work showing that for 1000! the answer is still the same.

If the number was 8!, then there is 1 factor of 7 and only 2 factors of 3. Hence, the answer is not simply n 7 \lfloor \frac{n}{7} \rfloor .

Calvin Lin Staff - 7 years, 3 months ago

@Soumya Chakraborty Thanks :-)

Maharnab Mitra - 7 years, 3 months ago

I always go by successive division

1000/7 = 142

142/7 = 20

20/7 =2

Soumya Chakraborty - 7 years, 3 months ago

1000/7=142, 142/7 = 20, 20/7 = 2 Ans= 142+20+2= 164

Raj Gupta - 7 years, 3 months ago

Same method here.

Shantanu Nathan - 7 years, 3 months ago

we dont need to consider 3 as the 7s are in less abundance and they are required to form 42

arkajyoti maity - 7 years, 2 months ago

why we have not consider the multiple of 3 in this case ...... in an another example of same type 49!/12 ...... we considered 3 and 4 both so why not here ?????????

saurabh kumar agrawal - 7 years, 1 month ago
Hahn Lheem
Feb 28, 2014

42 = 2 3 7 42=2 \cdot 3 \cdot 7 . However, in 1000 ! 1000! , there will obviously be more 2 2 's and 3 3 's than 7 7 's, so all we need to bother about is the number of times 7 7 is multiplied in 1000 ! 1000! . We simply do 1000 7 + 1000 7 2 + 1000 7 3 = 142 + 20 + 2 = 164 \left \lfloor \frac{1000}{7} \right \rfloor + \left \lfloor \frac{1000}{7^2} \right \rfloor + \left \lfloor \frac{1000}{7^3} \right \rfloor=142+20+2=\boxed{164}

Thaddeus Abiy
Mar 1, 2014

i = 1 1000 7 i = 164 \sum _{ i=1 }^{ \infty }{ \left\lfloor \frac { 1000 }{ { 7 }^{ i } } \right\rfloor } =164

Was also the 164th person to solve the problem :)

image image

congrats!

Eka Kurniawan - 7 years, 3 months ago
Lucas Tell Marchi
Feb 28, 2014

Let e p ( n ) e_{p}(n) be the Legendre's Formula for the number n n in relation to the prime number p p . As we know, we may write 4 2 N = 2 N × 3 N × 7 N 42^{N} = 2^{N} \times 3^{N} \times 7^{N} . Then N N will be writen as

N = m i n ( e 2 ( 1000 ) , e 3 ( 1000 ) , e 7 ( 1000 ) ) N = min (e_{2}(1000), e_{3}(1000), e_{7}(1000))

But e 2 ( 1000 ) = 994 e_{2}(1000) = 994 , e 3 ( 1000 ) = 498 e_{3}(1000) = 498 , e 7 ( 1000 ) = 164 e_{7}(1000) = 164 . Then N = 164 N = 164 .

Nikky Fauzdar
Mar 4, 2014

as we know prime factors of 42 are 2, 3,7, now in 1000! 7 comes less no. of times comparing to 2 and 3 now for no.of 7 floor of 1000/7=142 floor of 1000/49=20 floor of 1000/343=2 ans=164

Sameer Arora
Feb 19, 2014

use of greatest integer function:

42 = 2 X 3 X 7 the number of times 7 comes in 1000! will determine the greatest power of 42 that can divide 1000! so

1000/7 = 142 (floor of 1000/7 or rounding it of to the lower integer) similarly, 1000/49 =20 and 1000/343 = 2

so 142 + 20 + 2 = 164

Espee Rcksta
Mar 1, 2014

This can be solved using the greatest integer function (GIF). Finding the highest power of 42 in 1000! means that we have to find out the highest power of 6 and 7 together in 1000! as they are the prime factors of 42. Note:- these brackets [] indicate the application of the GIF. For eg. [2.236]=2, [2.999]=2 To find out the highest power of 7:- [1000/7]=142 [1000/49]=20 [1000/343]=2 Therefore the highest power of 7 in 1000! is 142+20+2=164

To find out the highest power of 6:- [1000/6]=166 [1000/36]=27 [1000/216]=4 Therefore the highest power of 6 in 1000! is 166+27+4=197

We have to find out the combined power of 6 & 7. Here, the power of 6 exceeds the power of 7. therefore 164 is the highest power of 6x7=42 Therefore the highest power of 42 in 1000! is the power of 7 which is 164.

Venkat Suhas
Feb 28, 2014

42 = 7 * 2 * 3 The highest prime factor of 42 is 7. The highest power of 42^N that divides 1000! is the highest power of 7^N.

N = step function(1000/7) + step function(1000/49) + step function(1000/343) = 164

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...