Question 15 Marks
Show that one and only one out of n, n + 4, n + 8, n + 12 and n + 16 is divisibleby 5, where n is any positive integer.
[Hint: Any positive integer can be written in the form 5q, 5q+1, 5q+2, 5q+3, 5q+4].
[Hint: Any positive integer can be written in the form 5q, 5q+1, 5q+2, 5q+3, 5q+4].
Answer
View full question & answer→Let a number n is divided by 5 then quotient is q and remainder is r. Then by Euclid's division algorithm,
n = 5q + r, where n, q, r are non-negative integers and $0\leq\text{r}<5$
When r = 0, n = 5q + 0 = 5q
So, n is divisible by 5.
When r = 1, n - 5a + 1
n + 2 = 5q + 1 + 2 = 5q + 3 is not divisible by 5.
n + 4 = (5q + 1) + 4 = 5q + 5 = 5(q + 1) divisible by 5.
So, (n + 4) is divisible by 5.
When r = 2, n = 5q + 2
(n + 8) = (5q + 2) + 8 = 5q + 10 = 5(q + 2) =5m is divisible by 5.
So, (n + 8) is divisible by 5.
When r = 3, n = 5q + 3
n + 12 = (5q + 3) + 12 = 5q + 15 = 5(q + 3) = 5m is divisible by 5.
So, (n + 12) is divisible by 5.
When r = 4, n = 5q + 4
n + 16 = (5q + 4) + 16 = 5q + 20 = 5(q + 4)
(n + 16) = 5m is divisible by 5.
Hence, n, (n + 4), (n + 8), (n + 12) and (n + 16) are divisible by 5.
n = 5q + r, where n, q, r are non-negative integers and $0\leq\text{r}<5$
When r = 0, n = 5q + 0 = 5q
So, n is divisible by 5.
When r = 1, n - 5a + 1
n + 2 = 5q + 1 + 2 = 5q + 3 is not divisible by 5.
n + 4 = (5q + 1) + 4 = 5q + 5 = 5(q + 1) divisible by 5.
So, (n + 4) is divisible by 5.
When r = 2, n = 5q + 2
(n + 8) = (5q + 2) + 8 = 5q + 10 = 5(q + 2) =5m is divisible by 5.
So, (n + 8) is divisible by 5.
When r = 3, n = 5q + 3
n + 12 = (5q + 3) + 12 = 5q + 15 = 5(q + 3) = 5m is divisible by 5.
So, (n + 12) is divisible by 5.
When r = 4, n = 5q + 4
n + 16 = (5q + 4) + 16 = 5q + 20 = 5(q + 4)
(n + 16) = 5m is divisible by 5.
Hence, n, (n + 4), (n + 8), (n + 12) and (n + 16) are divisible by 5.