Question
Prove that an integer $p>2$ is prime if and only if $(p-2)!\bmod p=1$.
Step 1
We need to prove that an integer \( p > 2 \) is prime if and only if \( (p-2)! \equiv 1 \pmod{p} \). Recall that a prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. Show more…
Show all steps
Your feedback will help us improve your experience
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD