Questions tagged [quadratic-residues]

An integer $a$ is a quadratic residue modulo $p$ if $a \equiv x^2 \pmod p$ for some integer $x$. If $a$ is not a quadratic residue modulo $p$, it is said to be a quadratic nonresidue modulo $p$.

An integer $a$ is a quadratic residue modulo $p$ if $a \equiv x^2 \pmod p$ for some integer $x$. If $a$ is not a quadratic residue modulo $p$, it is said to be a quadratic nonresidue modulo $p$.

In the case where $p$ is an odd prime, we often make use of the Legendre symbol

$$\left(\frac{a}{p}\right) = \begin{cases} 0 & p \mid a\\\ 1 & a\ \text{is a quadratic residue modulo}\ p\ \text{and}\ p \not\mid a\\\ -1 & a\ \text{is a quadratic nonresidue modulo}\ p. \end{cases}$$

There are $\frac{p-1}{2}$ quadratic residues (and nonresidues) for an odd prime $p$.

A powerful result regarding quadratic residues is the Law of Quadratic Reciprocity:

If $p$ and $q$ are odd primes, then $$\left(\frac{p}{q}\right) = \left(\frac{q}{p}\right)(-1)^{\frac{p-1}{2}\frac{q-1}{2}}.$$

808 questions
0
votes
1 answer

Solutions to the equation $3m^2\equiv 1\pmod{p}$ where $p$ is some prime

Here is my question: Solve the equation $3m^2\equiv 1\pmod{p}$, where $p$ is some prime. This seems to be closely related to quadratic residues. For example, if we were to solve $x^2\equiv -1\pmod{p}$, we can conclude that the equation has…
blastzit
  • 800
0
votes
1 answer

Let $a$ be a quadratic residue $\mod{43}$

Let $a$ be a quadratic residue $\mod{43}$. Show that $a^{11}$ is a ‘square root’ of $a$. There is another square root of $a$, what is it? A thorough explanation for begginers is appreciated.
wraithie
  • 127
0
votes
2 answers

Mystical relation of QR's of 7

Of the integers coprime to $7$, namely $1,2,3,4,5,6$, those with $2$ binary bits are the same of the non-quadratic residues, the rest have $1$ bit. QR: $1(1_2), 2(10_2), 4(100_2)$ NQR: $3(11_2), 5(101_2), 6(110_2)$ Can anyone explain this?
JMP
  • 21,771
1
2