Let ( p a ) denote the Legendre symbol .
If p = 2 0 1 1 , find the value of a = 1 ∏ p − 1 ( p a ) .
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.
For any odd prime p , there exist p − 1 positive integers less than p . Out of these p − 1 integers, exactly half of them, that is 2 p − 1 are quadratic residues mod p , and half of them are quadratic non-residues mod p . This fact is proved in the Quadratic Residues wiki .
If 1 ≤ a ≤ p − 1 , then the Legendre symbol denotes:
( p a ) = { 1 − 1 if a is a quadratic residue modulo p if a is a quadratic non-residue modulo p
We saw that 2 p − 1 quadratic residues and 2 p − 1 quadratic non-residues in the interval 1 ≤ a ≤ p − 1 , therefore the product evaluates to
a = 1 ∏ p − 1 ( p a ) = ( 1 ) ( p − 1 ) / 2 × ( − 1 ) ( p − 1 ) / 2
In this problem, p = 2 0 1 1 , therefore
a = 1 ∏ p − 1 ( p a ) = ( 1 ) ( 2 0 1 1 − 1 ) / 2 × ( − 1 ) ( 2 0 1 1 − 1 ) / 2 = 1 × ( − 1 ) 1 0 0 5 = − 1 □
In general, we can say that
a = 1 ∏ p − 1 ( p a ) = { 1 − 1 if p ≡ 1 ( m o d 4 ) if p ≡ 3 ( m o d 4 )
Bonus exercise: Try to prove this!
Simple standard approach.
Problem Loading...
Note Loading...
Set Loading...
So since Legendre symbol is multiplicative, we have (2010!/2011) and by Wilson's Theorem 2010! = -1 mod 2011, we have (-1/p) which is just -1.