+ Reply to Thread
Results 1 to 10 of 10

Thread: Number theory

  1. #1
    TestMagic Guru-in-Training thankont just joined TestMagic.
    Join Date
    Dec 2006
    Location
    Athens
    Posts
    626
    Rep Power
    6

    Number theory

    What is the highest power of 7 in 5000! (five thousand factorial)?
    Ans: 832

  2. #2
    Within my grasp! Swiss_boy just joined TestMagic. Swiss_boy's Avatar
    Join Date
    Dec 2006
    Location
    Zurich
    Posts
    424
    Rep Power
    5
    5000/7 = 714
    714/7 = 102
    102/7 = 14
    14 / 7 = 2
    2 / 7 = 0

    714+102+14+2+0 = 832

    Don't ask me how. I just know that to identify power of a number in a factorial, u need to sum the successive quotients.

  3. #3
    Within my grasp! aashu_79 just joined TestMagic. aashu_79's Avatar
    Join Date
    Dec 2006
    Posts
    166
    Rep Power
    4
    thats a great approach..

    i think the logic goes like this.. consider highest power of 2 that devides 10!

    10! = 1*2*3*4*5*6*7*8*9*10

    we know that every 2nd(2^1) number is even no, hence divisible by 2
    numbers of such factors of 2 in 10! = 10/2 = 5 (so 2^5 divides 10!)

    But there are more numbers, every 4th (2^2) number has an extra factor of 2(apart from what we have already counted).

    numbers of such additional factors of 2 in 10! = 10/4 = 2 (integral part of 10/4)

    similarly every 8th (2^3) number has one additional factor of 2 that is not counted yet.

    numbers of such additional factors of 2 in 10! = 10/8 = 1 (integral part of 10/8)

    so, in general highest power of a number x that devides n! is given by

    = n/x + n/x^2 + n/x^3.... +n/x^k (where k is such that x^k <= n)
    each term here denotes the integral part of the division.

  4. #4
    TestMagic Guru-in-Training thankont just joined TestMagic.
    Join Date
    Dec 2006
    Location
    Athens
    Posts
    626
    Rep Power
    6
    great work from both of you v_spirada and of course aashu.
    logic of v_spirada is that first we see how many divisors of 7 are there
    in numbers 1...5000. There are 5000/7 = 714. Now that we are done with 7 look how many divisors
    of 7^2 are there in 5000 so 5000/7^2 = 714/7= 102 etc.
    so results are equivalent since 5000/7 + 714/7+... = 5000/7+5000/7^2+...

  5. #5
    Trying to make mom and pop proud natalie82 just joined TestMagic. natalie82's Avatar
    Join Date
    Jan 2007
    Posts
    24
    Rep Power
    4
    thnx for posting this q. I would have surely missed this one if it were on my exam!!

  6. #6
    TestMagic Guru MikeJung just joined TestMagic. MikeJung's Avatar
    Join Date
    May 2006
    Location
    Los Angeles
    Posts
    1,339
    Rep Power
    10
    thanks for posting.

  7. #7
    Within my grasp! asdada1 just joined TestMagic.
    Join Date
    Aug 2006
    Posts
    361
    Rep Power
    6
    Quote Originally Posted by Swiss_boy View Post
    5000/7 = 714
    714/7 = 102
    102/7 = 14
    14 / 7 = 2
    2 / 7 = 0

    714+102+14+2+0 = 832

    Don't ask me how. I just know that to identify power of a number in a factorial, u need to sum the successive quotients.
    great stuff

  8. #8
    Within my grasp! Divin just joined TestMagic. Divin's Avatar
    Join Date
    May 2006
    Posts
    154
    Rep Power
    5
    great !

  9. #9
    Trying to make mom and pop proud target_g just joined TestMagic.
    Join Date
    Apr 2007
    Posts
    21
    Rep Power
    4
    Is it not simply sum of - 5000/7, 5000/49, 5000/7^3, ... 5000/7^5

  10. #10
    Within my grasp! pach2212 just joined TestMagic. pach2212's Avatar
    Join Date
    Jan 2005
    Posts
    308
    Rep Power
    7
    target_g.

    You are correct. the method illustrated above is just another way of presenting the same.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Number theory
    By aras82 in forum GMAT Problem Solving
    Replies: 2
    Last Post: 04-12-2009, 08:19 AM
  2. Number Theory
    By gcvbt7t in forum GMAT Problem Solving
    Replies: 9
    Last Post: 09-30-2008, 05:27 PM
  3. Number theory
    By evanka in forum GMAT Problem Solving
    Replies: 5
    Last Post: 08-05-2006, 05:57 PM
  4. Number Theory: Remainder of number powers
    By divsharma in forum GMAT Math
    Replies: 2
    Last Post: 07-03-2006, 03:24 PM
  5. GCD of z and 8z+1 (number theory)
    By rd_eastbay in forum GMAT Problem Solving
    Replies: 3
    Last Post: 05-14-2005, 07:35 PM

Bookmarks

What you can do

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO 3.5.0 RC2