Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Show that if p is an odd prime, then there are exactly (p1)/2quadratic residues of p among the integers 1, 2,...,p-1.

Short Answer

Expert verified

If p is an odd prime, then there are exactly (p1)/2quadratic residues of p among the integers 1, 2,...,p-1.

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

Step: 1

The quadratic residue of p is an integer aifgcd(a,p)=1and the congruence x2a(modp)has a solution.

Consider the list x2modpfor everyx{1,2,p1}that gives p-1 numbers between 1 and p-1. It implies that every p-1 in this list appears exactly twice.

It can be concluded that exactly half of the p-1 numbers must appear. As a result, there are exactly p12quadratic residues of p.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free