Related Concepts
Definition
An integer x is a quadratic residue modulo another integer n if x is relatively prime to n and has a square root modulo n.
Theory
Let n be an odd, positive integer, and let x be an integer that is relatively prime to n (Modular arithmetic). The integer x is a quadratic residue modulo n if the equation
has an integer solution y. In other words, the integer x is a square modulo n. The integer x is a quadratic non-residue otherwise.
If n is an odd prime number, then exactly half of all integers x relatively prime to n are quadratic residues. If n is the product of two distinct odd primes p and q, then the fraction is one-quarter.
Open Problems
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer Science+Business Media, LLC
About this entry
Cite this entry
Kaliski, B. (2011). Quadratic Residue. In: van Tilborg, H.C.A., Jajodia, S. (eds) Encyclopedia of Cryptography and Security. Springer, Boston, MA. https://doi.org/10.1007/978-1-4419-5906-5_428
Download citation
DOI: https://doi.org/10.1007/978-1-4419-5906-5_428
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4419-5905-8
Online ISBN: 978-1-4419-5906-5
eBook Packages: Computer ScienceReference Module Computer Science and Engineering