Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.1.26 (The product of three consecutive integers is divisible by $504$ if the middle one is a cube)
Exercise 2.1.26 (The product of three consecutive integers is divisible by $504$ if the middle one is a cube)
Show that the product of three consecutive integers is divisible by if the middle one is a cube.
Answers
Proof. If we write the central cube, the product of the three consecutive integers is
The factorisation of is
Since we must prove .
By (little) Fermat’s theorem,
- If is even, , thus .
- If is odd, and , thus .
- If , , thus .
- If , and , thus .
-
If , and , thus .
Since , where are relatively prime by pairs, we obtain
The product of three consecutive integers is divisible by if the middle one is a cube.