+ Reply to Thread
Results 1 to 6 of 6

Thread: Prime number

  1. #1
    Will power vvaann 's dreams are becoming reality. vvaann's Avatar
    Join Date
    Nov 2002
    Location
    Hanoi and Munich
    Posts
    401

    Prime number

    What is the greatest integer that divides p^4 -1 for every prime number p greater than 5 ?

    A. 12
    B. 30
    C. 48
    D. 120
    E. 240

    Answer key:
    SPOILER: E
    Go to TWE section and learn writing with me.
    Correct my essays and I will participate in reviewing yours!

  2. #2
    only Loeb spaces!
    Moderator
    reactor is served tea by TestMagic Inner Circle initiates. reactor is served tea by TestMagic Inner Circle initiates. reactor is served tea by TestMagic Inner Circle initiates. reactor is served tea by TestMagic Inner Circle initiates. reactor is served tea by TestMagic Inner Circle initiates. reactor is served tea by TestMagic Inner Circle initiates. reactor's Avatar
    Join Date
    Dec 2004
    Posts
    2,077

    Re: Prime number

    I have no idea about the problem. The phrase "for every" introduces too much difficulty for me. :-(
    The only thing I figured out is that p^4 -1 is an even number (odd^4 = odd, odd -1 = even).
    "It's easy to have faith in yourself and have discipline when you're a winner, when you're number one. What you've got to have is faith and discipline when you're not yet a winner." Vince Lombardi

    How to write a lazy proof

    Teaching yourself how to prove

  3. #3
    Socratic realist Dragonfinity is a TestMagic guru. Show your respect! Dragonfinity is a TestMagic guru. Show your respect! Dragonfinity's Avatar
    Join Date
    Feb 2005
    Location
    Georgia, USA
    Posts
    220

    Re: Prime number

    Okay, this is tough to explain.

    First note the theorem that x^(p-1) is congruent to 1 (mod p) where p and x are relatively prime. So, x^4 is congruent to 1 (mod 5), when x is a prime greater than 5; hence, x^4 - 1 is divisible by 5 (or p^4 - 1 is divisible by 5, in the notation used above).

    Next, note that p^4 -1 factors into (p^2 + 1)(p^2 - 1). As p is a prime greater than 5, p is odd, so p^2 + 1 is even and divisible by two. So far, we have independent factors of 5 and 2.

    Now, we'll show that p^2 - 1 is divisible by 24 = 3*4*2. Using the theorem above, we see that p^2 -1 is divisible by 3. Also, p^2 - 1 = (p + 1)(p - 1). Okay, now this is tricky. Since p is odd, both p + 1, p - 1 are even. But, one is divisible by 2, while the other is divisible by 4. So, we've shown that p^2 - 1 is divisible by 24.

    Therefore, we've shown that p^4 - 1 is divisible by 5*2*24 = 240.

  4. #4
    Within my grasp! matroid radiates success. matroid's Avatar
    Join Date
    Nov 2004
    Posts
    101

    Re: Prime number

    That's a nice explanation!

    I'd add only one comment: we don't even need Fermat Theorem (x^(p-1) is congruent to 1 (mod p) where p and x are relatively prime). Since f(p) := p^4 - 1 = (p^2 + 1)(p^2 - 1) = (p^2 + 1)(p + 1)(p - 1), and p>5, either (p-1) or (p+1) is divisible by 3. (Otherwise p would be, which is impossible.)

    In the same way: if neither (p-1) nor (p+1) is divisible by 5, the p must be congruent to +2 or -2 (mod 5), so (p^2+1) is congruent to 5 or 0 (mod 5).

    It's the same idea that Dragonfinity used to prove that f(p) is divisible by not only 4 but 8.

    Cheers, Md.

  5. #5
    Trying to make mom and pop proud alamps3 just joined TestMagic.
    Join Date
    Mar 2008
    Posts
    12
    Quote Originally Posted by matroid View Post
    In the same way: if neither (p-1) nor (p+1) is divisible by 5, the p must be congruent to +2 or -2 (mod 5), so (p^2+1) is congruent to 5 or 0 (mod 5).
    Can someone expand on why this is true. I don't understand.

  6. #6
    Trying to make mom and pop proud kdilks just joined TestMagic.
    Join Date
    Mar 2008
    Posts
    6
    Every number is -2,-1,0,1,2 mod 5. Since p>5, p is not 0 mod 5. If p-1 is not a multiple of 5, then p is not 1 mod 5. If p+1 is not a multiple of 5, then p is not -1 mod 5. So it has to be -2 or 2 mod 5. In both cases, p^2+1 will be 0 mod 5. So at least one of p-1,p+1,and p^2+1 must be divisible by 5.

+ Reply to Thread

Similar Threads

  1. Number Properties: Prime Number
    By Gmater-1 in forum GMAT Data Sufficiency
    Replies: 1
    Last Post: 01-03-2008, 09:57 AM
  2. Number Properties : prime number
    By Gmater-1 in forum GMAT Problem Solving
    Replies: 3
    Last Post: 12-27-2007, 08:19 PM
  3. Number Properties: prime number addition
    By Gmater-1 in forum GMAT Problem Solving
    Replies: 3
    Last Post: 12-27-2007, 02:32 PM
  4. Number properties: prime number
    By Gmater-1 in forum GMAT Data Sufficiency
    Replies: 2
    Last Post: 12-27-2007, 08:50 AM
  5. Is N a prime number?
    By jin00V in forum GMAT Data Sufficiency
    Replies: 2
    Last Post: 02-12-2005, 09:01 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