wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

prove that one and only one out of n, n+2orn+4 is divisible by 3 where n is any positive integer

Open in App
Solution

We know that any positive integer is of the form of 3q, 3q+1 or 3q+2 for some integer q.CASE 1:When n = 3qNow, n = 3q, that is divisible by 3.n + 2 = 3q + 2, that is not divisible by 3 as it leaves a remainder of 2.n+4 = 3q+4 = 3q+1+1, that is not divisible by 3 as it leaves a remainder of 1So, n is divisible by 3, but n+2 and n+4 are not divisible by 3.CASE 2:When n = 3q+1Now, n = 3q+1,that is not divisible by 3 as it leaves a remainder of 1.n + 2 = 3q + 3 = 3q+1, that is divisible by 3n+4 = 3q+5 = 3q+1+2, that is not divisible by 3 as it leaves a remainder of 2So, n+2 is divisible by 3, but n and n+4 are not divisible by 3.CASE 3:When n = 3q+2Now, n = 3q+2, that is not divisible by 3 as it leaves a remainder of 2n + 2 = 3q + 4 = 3q+1+1, that is not divisible by 3 as it leaves a remainder of 1.n+4 = 3q+6 = 3q+2, that is divisible by 3.So, n+4 is divisible by 3, but n and n+2 are not divisible by 3.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Why Divisibility Rules?
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon