Quadratic residue
Definition
Let be a positive integer and let be an integer. Then is a quadratic residue modulo if there is an integer with . Otherwise is a quadratic nonresidue modulo .
Remarks
Many texts also require , and so they do not count as a quadratic residue. Modulo , the squares of are . So the nonzero quadratic residues modulo are , and . Modulo an odd prime , exactly of the classes are quadratic residues. The product of two quadratic residues is a quadratic residue.
Explanations
L1 human
A quadratic residue modulo is a number that is a perfect square in the arithmetic modulo . For example, is not a square in the integers, but . So is a quadratic residue modulo .
What this node needs for W2
- edge instance_of in: one example (0 of 1)
- edge not_instance_of in: one non-example that fails one clause (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 3 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Congruence modulo n definition
- Quadratic residue definition
What depends on this
14 nodes use this node, directly or through other nodes.
- −1 is a square modulo p if and only if p is not 3 modulo 4 00DW862T78
- Legendre symbol 01J8AMV9RS
- Gauss's lemma on quadratic residues 037ACYXB5Z
- Fermat's theorem on sums of two squares 043B3ENSTY
- Sum of two squares theorem 04NPWJMA6H
- Law of quadratic reciprocity 085MJS6907
- Euler's criterion 0M7DEDKSYB
- Multiplicativity of the Legendre symbol 0NW1JP7TBR
- First supplement to quadratic reciprocity 0PHBS78HKT
- A prime is a Gaussian prime if and only if it is 3 modulo 4 0WMJSEFYFE
- Jacobi symbol 0XDB5AW7M1
- Eisenstein's lemma 0XSDBCP4RZ
- Quadratic reciprocity for the Jacobi symbol 0YY06KP3ZQ
- Second supplement to quadratic reciprocity 0ZXW95S44M
Sources
- Web https://en.wikipedia.org/wiki/Quadratic_residue, History, conventions, and elementary facts
What links here
Used by
- Legendre symbol 01J8AMV9RS