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

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


Open in App
Solution

To Prove that one and only one out of n,n+2andn+4 is divisible by 3

As it is given that, n,n+2andn+4 three integers where n is any positive integer

So, One and only one out of n,n+2andn+4 is divisible by3, where n is any positive integer.

For this Let the positive integer =n And b=3

According to Euclid’s division lemma, we know that

n=3q+r, where q is the quotient and r is the remainder

0<r<3 implies remainders may be 0,1and2

Therefore, n may be in the form of 3q,3q+1,3q+2

Case 1: When n=3q

n+2=3q+2n+4=3q+4

Here n is only divisible by 3

Case 2: Whenn=3q+1

n+2=3q+3=3(q+1)n+4=3q+5

Here only n+2 is divisible by 3

Case 3: When n=3q+2

n+2=3q+4n+4=3q+2+4=3q+6

Here only n+4 is divisible by 3

So, we note that one and only one out of n,n+2andn+4 is divisible by 3.

Hence Proved.


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