5.4: Introduction to Quadratic Residues and Nonresidues
( \newcommand{\kernel}{\mathrm{null}\,}\)
The question that we need to answer in this section is the following. If
Let
Notice that
Let
If
We now show that there are no more than two incongruent solutions. Assume that
The following theorem determines the number of integers that are quadratic residues modulo an odd prime.
If
To find all the quadratic residues of
Exercises
- Find all the quadratic residues of 3.
- Find all the quadratic residues of 13.
- find all the quadratic residues of 18.
- Show that if
is prime and , then there are always two consecutive quadratic residues of . Hint: Show that at least one of or 10 is a quadratic residue of . - Show that if
is prime and , then there are always two quadratic residues of that differ by 3.
Contributors and Attributions
Dr. Wissam Raji, Ph.D., of the American University in Beirut. His work was selected by the Saylor Foundation’s Open Textbook Challenge for public release under a Creative Commons Attribution (CC BY) license.


