Question
Prove or disprove: If $x^2 \bmod p=1$ has exactly two solutions $x \in\{1,2, \ldots$, $p-1\}$, then $p$ is prime.
Step 1
We need to prove or disprove the claim that if the equation \( x^2 \equiv 1 \mod p \) has exactly two solutions in the set \( \{1, 2, \ldots, p-1\} \), then \( p \) must be a prime number. Show more…
Show all steps
Your feedback will help us improve your experience
James Chok and 51 other educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Show that if $p$ is prime, the only solutions of $x^{2} \equiv$ 1$(\bmod p)$ are integers $x$ such that $x \equiv 1(\bmod p)$ or $x \equiv-1$ $(\bmod p) .$
Number Theory and Cryptography
Solving Congruences
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD