image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > Number Theory


Reply

image divisibility of powers of primes Share It Thread Tools Search this Thread image
Old Oct28-09, 05:37 PM                  #1
thomas430

thomas430 is Offline:
Posts: 10
divisibility of powers of primes

Hi all,

so I was looking at Legendre symbols, and I saw that LaTeX Code: \\left(\\frac{2}{p}\\right)=(-1)^{\\frac{p^2-1}{8}} .

How does one show that LaTeX Code: \\frac{p^2-1}{8} is always an integer? That is, how can we show that LaTeX Code: 8 | p^2-1 ?

Can a similar method be applied to show that LaTeX Code: 24 | p^3-p ?


Thanks :-)

Thomas.
  Reply With Quote
Old Oct28-09, 07:25 PM                  #2
Bingk

Bingk is Offline:
Posts: 21
Re: divisibility of powers of primes

Hi ... I suggest you wiki the Legendre symbol to get a better idea of it ... also wiki the proof for the Second Supplement to the Law of Quadratic Reciprocity.

The idea is this, we know that even numbers are of the form 2n, and odd numbers 2n+1. We can extend this further by showing that 4n and 4n+2 are even numbers, while 4n+1 and 4n+3 are odd numbers (and the combination of 4n, 4n+1, 4n+2, 4n+3 represent the form of any number) ... this is all actually from the division algorithm which states that for any two integers a and b, both greater than 0, there exists another two integers q and r such that a=bq+r where r is less than b and greater than or equal to zero.

So, we can set our a to be a prime number, say p, and we let our b=8. This gives us the following possibilities:
p=8q
p=8q+1
p=8q+2
p=8q+3
p=8q+4
p=8q+5
p=8q+6
p=8q+7

If you look at those equations, you'll notice that 8q, 8q+2, 8q+4, and 8q+6 will give you even numbers, so they cant be odd primes. So you're left with 8q+1, 8q+3, 8q+5, and 8q+7
as the forms of odd numbers (and thus possibly odd primes).

Now, let's take a look at p^2-1 = (p+1)(p-1) where p is one of the possibilities mentioned above.
For:
p=8q+1, (p+1)(p-1) = (8q+2)(8q) = 8q(8q+2), since 8|8, 8|8q(8q+2), then 8|p
p=8q+3, (8q+4)(8q+2) = 8q(8q+2) + 4(8q+2) = 8q(8q+2) + 32q + 8, and if you look at that, all those terms are divisible by 8, so 8|p
You can do the same for the rest ... and you'll see that if a prime is of any of those forms, then it will be divisible by 8.

You might be able to use this method to show 24|(p^3-p), but it will be somewhat tedious ...
  Reply With Quote
Old Oct29-09, 08:35 PM                  #3
ramsey2879

ramsey2879 is Offline:
Posts: 546
Blog Entries: 2
Re: divisibility of powers of primes

Originally Posted by Bingk View Post
You might be able to use this method to show 24|(p^3-p), but it will be somewhat tedious ...
It is not so tedious since 8|p^2 -1 ==> 8|p^3-p. Thus to prove 24|p^3-p we only have to further prove that 3|p(p-1)(p+1)!!
  Reply With Quote
Old Oct29-09, 09:32 PM                  #4
Petek

Petek is Offline:
Posts: 67
Recognitions:
PF Contributor PF Contributor
Re: divisibility of powers of primes

To prove simply that LaTeX Code: 8|p^2 - 1 is much easier than the proof given above. It's understood that p is odd. Therefore, both p + 1 and p - 1 are even. It's easy to see that, given two consecutive even numbers, one of them must be divisible by 4. It follows that the product (p + 1)(p - 1) is divisible by 8. But LaTeX Code: p^2 - 1 = (p + 1)(p - 1) , so LaTeX Code: p^2 - 1 is divisible by 8.

Petek
  Reply With Quote
Old Oct30-09, 02:19 AM                  #5
Bingk

Bingk is Offline:
Posts: 21
Re: divisibility of powers of primes

I meant it would be tedious the way I did it :) ... Referring to thomas430's question if a similar method could be used to prove it :)

Petek, that's great :) ... I didn't realize that LCM could be taken advantage of in that way :). In my defense, I was trying to explain how (p-1)/2 became (p^2-1)/8 (Legendre symbol stuff :))
  Reply With Quote
Old Nov3-09, 03:23 AM                  #6
thomas430

thomas430 is Offline:
Posts: 10
Re: divisibility of powers of primes

Thanks to all of you for your discussion, you've helped a great deal!

Bingk and Petek, your proofs next to one another gave me great insight :-D
  Reply With Quote
image image
Reply

Tags
divisibility, jacobi, legendre, primes
Thread Tools


Similar Threads for: divisibility of powers of primes
Thread Thread Starter Forum Replies Last Post
Cycle Length of the Positive Powers of Two Mod Powers of Ten DoctorBinary Number Theory 8 Nov9-09 11:59 AM
Question about primes and divisibility...abstract algebra/number theory AxiomOfChoice General Math 6 Apr12-09 05:01 PM
Number Theory - divisibility and primes future_phd Calculus & Beyond 1 Jan23-09 12:27 AM
the sum over primes involving powers of 10 Klaus_Hoffmann Number Theory 2 Jul20-07 01:57 AM
Divisibility VietDao29 Brain Teasers 9 Apr16-06 12:33 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image