Let ( p a ) denote the Legendre symbol . If p = 1 6 3 , what is the value of
a = 1 ∑ p ( 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.
More generally, we can take any non-quadratic residue, and not just − 1 which works only for primes of the form 4 k + 3 .
Nice. I should have chosen a prime congruent to 1 mod 4 so this argument didn't work. What if I change p to 1 7 3 instead?
Log in to reply
My thinking is that the answer will be 0 for all odd primes p since there are exactly 2 p − 1 quadratic residues modulo odd prime p in { 1 , 2 , … , p − 1 } and the rest are quadratic non-residues, so,
a = 1 ∑ p ( p a ) = a = 1 ∑ p − 1 ( p a ) = 2 p − 1 ⋅ 1 + 2 p − 1 ⋅ ( − 1 ) = 0 ∀ p ∈ P > 2
Follows by a simple counting argument. First of all, note that barring p , there are an even number of residues (or equivalence classes) { 1 , 2 , … , p − 1 } , modulo any odd prime p . Now a residue q can be paired up with p − q , both of which produces the same quadratic residue q 2 m o d ( p ) . Since p is prime, it ensures that the quadratic residues produced in this way are distinct. Hence, there are exactly 2 p − 1 quadratic residues and an equal number of quadratic non-residues. Hence, a = 1 ∑ p ( p a ) = 2 p − 1 − 2 p − 1 = 0 .
did the same!
Since ( 1 6 3 1 6 3 ) = 0 , we need to find sum of even amount of odd numbers. Therefore the answer is 0, because it is the only even number available :P (I know how to solve it properly)
You should also present the proper solution.
The thing is :
there are in total (p-1)/2 QRs and (p-1)/2 QNs as stated here :https://brilliant.org/wiki/quadratic-residues/
so it will produce equal no. of 1s and -1s which will cancel out and the remaining (163/163) will yield out '0' as stated by Legendre's Symbol.
1 2 |
|
1 2 3 |
|
Problem Loading...
Note Loading...
Set Loading...
Since ( p p ) = 0 , the desired sum is equal to a = 1 ∑ p − 1 ( p a ) .
Observe that every term ( p a ) is paired up with a term ( p p − a ) = ( p − a ) = ( p − 1 ) ( p a ) . Because a ( p − 1 ) / 2 ≡ ( p a ) ( m o d p ) , and here p = 163 is in the form 4k+3, ( p − 1 ) ( p a ) = ( − 1 ) ( p − 1 ) / 2 ( p a ) = − ( p a ) .
Hence, the total sum is 0.