Homepage › Solution manuals › Kenneth Ireland › A Classical Introduction to Modern Number Theory › Exercise 3.10
Exercise 3.10
If is not a prime, show that , except when .
Answers
Proof.
Suppose that is not a prime. Then , where .
If , then (even if !).
If , then is a square.
If is not prime, , and , where verify . As in the first case, .
If is a prime, then .
In the case , and . In the other case, , and contains the factors , where , so , that is .
Conclusion : if is not a prime, , except when . □