Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.1.54 (Pseudoprimes and Carmichael numbers)
Exercise 2.1.54 (Pseudoprimes and Carmichael numbers)
- (a)
- Noting the factoring , verify that and hence that , but .
- (b)
- Using the factoring , prove that holds for every integer .
Answers
Proof.
- a)
-
Since
, then
, thus
Similarly, , thus , then , thus
Using , and , where , we obtain , so
(But .)
So is a pseudo-prime to the base .
- b)
-
-
If , .
If not, (Fermat’s theorem), and , thus , therefore
-
If , .
If not, (Fermat’s theorem), and , thus , therefore
-
If , .
If not, (Fermat’s theorem), and , thus , therefore
Since are relatively prime in pairs, , so
The composite integer is a Carmichael number.
-