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
4
votes
1 answer

Number that can't be root of -1 quadratic residue modulo p

Every root of $−1$ quadratic residue modulo $p$ prime, $p=1(\mod4)$ is distinct. Running tests it appears that some values are never root of $−1$ quadratic residue modulo $p$. For exemple : $7, 18, 21, 38, 41$ etc. Is there a way to "predict" which…
BenLaz
  • 807
4
votes
1 answer

Roots of $-1$ quadratic residue modulo$ p$

It seems that every root of $-1$ quadratic residue modulo $p$ prime, $p = 1 \pmod 4$ is distinct. I mean if $x$ is a root of $-1$ quadratic residue modulo $p$, then there is no other prime $q$ such $x$ is a root of $-1$ quadratic residue modulo…
BenLaz
  • 807
2
votes
1 answer

Hilbert symbols over $\mathbb{Z} $ and/or finite fields

I'm wondering if there is a way to understand the Hilbert norm-residue symbols without any of the commonly required background (p-adic numbers, local/global fields, class field theory...) More explicitly, I'm asking if the…
augustoperez
  • 3,216
2
votes
1 answer

Quadratic residue, bijective mapping?

Let $p$ and $q$ be two odd primes such that $p \equiv q \equiv 3 \pmod 4$, and let $n=pq$. Seems that $f:\text{QR}_n\to \text{QR}_n$, $f(x) \equiv x^2$ is a bijection. Have trouble as to why is it so.
1
vote
0 answers

Proof that Legendre symbol is multiplicative

I want to proof that the Legendre symbol is multiplicative. Therefore I use the Criterion by Euler whih claims, that for an integer $a$ and an odd prime $p$ it holds $$ \big( \frac{a}{q} \big) \equiv a^{\frac{p-1}{2}} (\bmod p). $$ My theorem: Let…
Lereu
  • 424
1
vote
1 answer

finite field quadratic residue "counterpart"

I have a Zp finite field, and there are (p-1)/2 quadratic residues. So leaving 0 aside, there are exactly half quadratic residues. Now, I need to create a 1-1 mapping between quadratic residues to other elements, i.e. for every x define its…
valdo
  • 611
1
vote
0 answers

why $x^p-1=\prod_{i=0}^{p-1}(x-\alpha^i).$ , Quadratic residues

help with this interpretation.. Choose a prime $l$ such that $l\neq p$ and $l$ is a quadratic residue modulo $p$. Choose an integer $m\geq 1$ such that $l^m-1$ is divisible by $p$. Let $\theta$ be a primitive element of $F_{l^m}$ and pun…
1
vote
0 answers

On quadratic residues.

If $w^2 \equiv p\pmod q$ holds where $q\equiv p\equiv1\pmod 4$ primes, is there explicit reasonably succinct expressions $f,g$ such that $f(p,q,w)\equiv \pmod p$ and $g(p,q,w)\equiv q\pmod p$ holds corresponding to the two roots of $x^2\equiv p\bmod…
Turbo
  • 6,221
1
vote
1 answer

Compute QNR whose Jacobi is 1

How do I compute a QNR in ZN which has a Jacobi of 1? N is product of distinct primes.
0
votes
1 answer

Reduction of the question of quadratic residues mod $m$ to the primary decomposition of $m$.

Let $m\geq 1$ and $k$ be integers. If $m=p_1^{q_1}...p_l^{q_l}$ is the primary decomposition of $m$, it's easy to see with the Chinese remainder theorem that $k$ is a square mod $m$ iff for all $j\in\{1,...,l\}$ the $k$ is a square mod…
0
votes
0 answers

Do we need relative prime in the definition of a quadratic residue?

From my lectures I know that $a$ is a quadratic residue mod $m$ if there is a $b$ such that $b^2\equiv a \pmod m$. But in several book I now read that $a$ and $m$ have to be coprime. That would mean that $4$ is not a quadratic residue $\mod 6$. But…
Lereu
  • 424
0
votes
0 answers

Smallest element §a§ such that Jacobisymbol $(a, n) = -1$.

I want to get an upper bound for the smallest $a$ and a natural number $n$ such that the Jacobisymbol is $$ \big(\frac{a}{n}\big) = -1. $$ I know the following: Let $p>3$ be prime and let $a_p$ be the smallest quadratic non-residue mod…
Lereu
  • 424
0
votes
1 answer

The least quadratic non-residue

For my thesis I need a good bound for the least quadratic non-residue modulo an odd prime $p$, which I can cite as proven. So I researched a lot and found several papers and bound. As far as I read in Wikipedia, there is the…
Lereu
  • 424
0
votes
0 answers

Quadratic Residue for even numbers?

From our lecture, I noted down this statement: Let $a$ be an integer and $m$ an odd natural number with the prime decomposition $$ m = p_1^{\alpha_1}\cdot p_2^{\alpha_2} \cdots p_n^{\alpha_n}. $$ If $a$ is a quadratic residue mod $m$, then $a$ is…
Lereu
  • 424
0
votes
0 answers

On quadratic congruences

I was doing some basic things on quadratic congruences. While doing so I encountered this. Let $p$ be a prime and $r$ an integer such that $0\leq r
1
2