Show that the cube of a positive integer is of the form 6q + r, where q is an integer and r = 0, 1, 2, 3, 4, 5
Introduction
In this problem, we study the possible forms of the cube of a positive integer. We will show that the cube of any positive integer can always be written in the form 6q + r, where q is an integer and r takes one of the values 0, 1, 2, 3, 4, or 5.
YouTube Video
Question
Show that the cube of a positive integer is of the form 6q + r, where q is an integer and r = 0, 1, 2, 3, 4, or 5.
Solution
Let n be any positive integer. Every positive integer can be written in one of the following six forms:
6q, 6q + 1, 6q + 2, 6q + 3, 6q + 4, or 6q + 5, where q is an integer.
We now find the cube of n in each case.
If n = 6q, then n3 = (6q)3 = 216q3, which is divisible by 6. Hence, the cube is of the form 6q.
If n = 6q + 1, then n3 = (6q + 1)3 = 216q3 + 108q2 + 18q + 1, which is of the form 6q + 1.
If n = 6q + 2, then n3 = (6q + 2)3 = 216q3 + 216q2 + 72q + 8, which is of the form 6q + 2.
If n = 6q + 3, then n3 = (6q + 3)3 = 216q3 + 324q2 + 162q + 27, which is of the form 6q + 3.
If n = 6q + 4, then n3 = (6q + 4)3 = 216q3 + 432q2 + 288q + 64, which is of the form 6q + 4.
If n = 6q + 5, then n3 = (6q + 5)3 = 216q3 + 540q2 + 450q + 125, which is of the form 6q + 5.
Thus, in all cases, the cube of a positive integer can be written in the form 6q + r, where r is one of the numbers 0, 1, 2, 3, 4, or 5.
Conclusion
Therefore, the cube of any positive integer is of the form 6q + r, where q is an integer and r = 0, 1, 2, 3, 4, or 5.
Hence proved.
Next Question