Proving Congruences of Primes: Show 2^((p-1)/2) = +1 (mod p)

  • Level: Undergrad 
  • Thread starter Thread starter johndoe3344
  • Start date Start date
  • Tags Tags
    Primes
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 3K views
johndoe3344
Messages
28
Reaction score
0
I came across this:

Show that if p denotes an odd prime, then 2^((p-1)/2) = +1 (mod p).

So basically, this is asking me to show that p|2^((p-1)/2)-1 AND p|2^((p-1)/2)+1

But I'm stuck from there. What am I missing? Could someone help me with the proof?
 
Physics news on Phys.org
Can you use Wilson's theorem?

johndoe3344 said:
So basically, this is asking me to show that p|2^((p-1)/2)-1 AND p|2^((p-1)/2)+1

No, replace the AND with OR.
 
The statement is called Euler's criterion for quadratic residues. The key to prove it is Fermat's theorem.