CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
3
You visited us 3 times! Enjoying our articles? Unlock Full Access!
Question

Prove that, one and only one out of n,n+2, or n+4 is divisible by 3, where n is any positive integer.

Open in App
Solution

We applied Euclid Division algorithm on n and 3.
a=bq+r on putting a=n and b=3
n=3q+r , 0<r<3

i.e
n=3q -------- (1),
n=3q+1 --------- (2),
n=3q+2 -----------(3)

n=3q is divisible by 3

or n+2=3q+1+2=3q+3 also divisible by 3

orn+4=3q+2+4=3q+6 is also divisible by 3

Hence n,n+2,n+4 are divisible by 3.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Cube Numbers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon