Quadratic Residues: Explanation & Modulo Odd Prime Number

  • Thread starter Thread starter moriheru
  • Start date Start date
  • Tags Tags
    Quadratic
Click For Summary
Every integer is a quadratic residue modulo 2, as both 0 and 1 yield solutions to the congruence x^2 ≡ a (mod 2). For an odd prime number p, there are (p + 1)/2 quadratic residues and (p - 1)/2 nonresidues, indicating the distribution of integers that can be expressed as squares modulo p. For example, with p = 7, the quadratic residues are 0, 1, 2, and 4, while the nonresidues are 3, 5, and 6. The discussion highlights the importance of understanding the nature of quadratic residues and provides a reference to a proof for further clarification. This foundational concept is crucial in number theory and has implications in various mathematical applications.
moriheru
Messages
273
Reaction score
17
This may be a bit vague but can anyone explain this sentence to me
http://en.wikipedia.org/wiki/Quadratic_residue:"Modulo 2, every integer is a quadratic residue.

Modulo an odd prime number p there are (p + 1)/2 residues (including 0) and (p − 1)/2 nonresidues."

If this is to vague I apologize.
 
Mathematics news on Phys.org
As in the link above, an integer a is a quadratic residue modulo p if it's congruent to a square mod p. In other words, the congruence x^2 \equiv a \text{ }\left( \text{mod } p \right) has a solution. Some like to add that a needs to be invertible, since 0 is trivially a quadratic residue. The first line says that every integer a satisfies the congruence x^2 \equiv a \text{ }\left( \text{mod } 2 \right). This isn't surprising: if a is 0 or 1 modulo 2, there will always be a solution (just take x to be 0 or 1 respectively).

The second line is saying that the congruence x^2 \equiv a \text{ }\left( \text{mod } p \right) for p ≠ 2 has \frac{p+1}{2} integer values of a for which that congruence holds, and \frac{p-1}{2} integer values of a for which it doesn't.

For example, take p = 7. The squares mod 7 are 0, 1, 2, 4, so the quadratic residues mod 7 are 0, 1, 2 and 4. The quadratic non-residues are 3, 5 and 6, because you can't find an integer that squares to give 3, 5 or 6, modulo 7.
 
  • Like
Likes moriheru
Thanks but how does one get to the p/2-1/2?
 
There is a nice proof on the first page of this document -- see Proposition 1.2.
 
  • Like
Likes moriheru
Good morning I have been refreshing my memory about Leibniz differentiation of integrals and found some useful videos from digital-university.org on YouTube. Although the audio quality is poor and the speaker proceeds a bit slowly, the explanations and processes are clear. However, it seems that one video in the Leibniz rule series is missing. While the videos are still present on YouTube, the referring website no longer exists but is preserved on the internet archive...

Similar threads

Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
6K