Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 1.2.13 (First cases of Little Fermat's Theorem)
Exercise 1.2.13 (First cases of Little Fermat's Theorem)
Prove that is divisible by for every integer ; that is divisible by ; that is divisible by .
Answers
Proof. Let .
- (a)
- If is odd, then , and if is even, . In both cases, .
- (b)
- We proved in Exercise 6 that the product of three consecutive integers is divisible par . Therefore
- (c)
-
We first show that
.
First proof: One of the five consecutive integers is divisible by . Therefore
Therefore . This shows that .
Second proof : by induction. First . Now assume that , so that . Then, using the binomial formula,
Therefore , and the induction is done. We can conclude, for all ,
Moreover, if , then , thus , so :
Conclusion: Since by part (b) and
we obtain .
Since and are relatively prime, for all ,
Note: are particular cases of Little Fermat’s Theorem.