Can someone give a simple explanation of quadratic residues?

  • Context: MHB 
  • Thread starter Thread starter Terry1
  • Start date Start date
  • Tags Tags
    Explanation Quadratic
Click For Summary
SUMMARY

Quadratic residues are defined as numbers q such that there exists an integer x satisfying the equation x² ≡ q (mod n). For instance, 8 is a quadratic residue mod 17 since 5² ≡ 8 (mod 17), while it is a nonresidue mod 11 because the equation x² ≡ 8 (mod 11) has no solutions. To determine quadratic residues mod n, one must compute k² mod n for k ranging from 0 to ⌊(n-1)/2⌋, identifying which results are present and which are absent.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with quadratic equations
  • Basic knowledge of number theory
  • Ability to perform calculations with integers
NEXT STEPS
  • Learn how to compute quadratic residues for different moduli
  • Explore the properties of quadratic residues in number theory
  • Study the Legendre symbol and its applications
  • Investigate the distribution of quadratic residues among integers
USEFUL FOR

Mathematicians, students of number theory, and anyone interested in modular arithmetic and its applications in cryptography.

Terry1
Messages
4
Reaction score
0
Hi,

This is not coursework, just private study.

Ok, I understand that q is a quadratic residue MOD n if x^2 = q MOD n

What I don't understand is how to figure this out?

I read a paper that states "8 is a quadratic residue mod 17, since 5^2 = 8 MOD 17", fair enough.
It then goes on to state that "8 is a quadratic nonresidue mod 11, because x^2 = 8 MOD 11 has no solutions"

How do we know there are no solutions?

Thanks
 
Mathematics news on Phys.org
Terry said:
Hi,

This is not coursework, just private study.

Ok, I understand that q is a quadratic residue MOD n if x^2 = q MOD n

What I don't understand is how to figure this out?

I read a paper that states "8 is a quadratic residue mod 17, since 5^2 = 8 MOD 17", fair enough.
It then goes on to state that "8 is a quadratic nonresidue mod 11, because x^2 = 8 MOD 11 has no solutions"

How do we know there are no solutions?

Thanks

To find if a number is quadratic residue mod x we need to take the numbers k from 0 to x-1 and find

$k^2\,mod\,$ and this shall be a quadratic residue
but because of symmetry as $n^2= (-n)^2$ we need to take k from 0 to $\lfloor\dfrac{x-1}{2}\rfloor$

the numbers we find in above from 0 to n-1 (0 and 1 are always there) are quadratic residue and that are not there are quadratic non residue

for example $0^2 = 0\,mod \, 3$
$1^2 = 1\,mod \, 3$
$2^2 = 1\,mod \, 3$ ( same are 1)
so 0 and 1 are quadratic residue mod 3 but 2 is not quadratic residue
 
Last edited:
Thanks kaliprasad.

Let's see if I have understood correctly...

From what you explained would I be right in saying {0, 1, 3, 4, 9, 10, 12} are quadratic residues MOD 13
and {0, 1, 2, 3, 4, 6, 8, 9, 12, 13, 16, 18} are quadratic residues MOD 23?

Many thanks,

Terry
 
Terry said:
Thanks kaliprasad.

Let's see if I have understood correctly...

From what you explained would I be right in saying {0, 1, 3, 4, 9, 10, 12} are quadratic residues MOD 13
and {0, 1, 2, 3, 4, 6, 8, 9, 12, 13, 16, 18} are quadratic residues MOD 23?

Many thanks,

Terry

right
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K