Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
+1 vote
2.1k views
in Mathematics by (24.1k points)

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

2 Answers

+2 votes
by (24.1k points)
 
Best answer

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
or n +4 = 3q + 2 +4 = 3q + 6 is also divisible by 3
Hence n, n+2 , n+4 are divisible by 3.

+1 vote
by (20.4k points)

Solution: 
By Euclid’s division lemma, we have 
a = bq + r;  0 ≤ r < b 
For a = n and b = 3, we have 
n = 3q + r, …(i) 
where q is an integer 
and 0 ≤ r < 3, i.e. r = 0, 1, 2. 
Putting r = 0 in (i), we get 
n = 3q 
So, n is divisible by 3. 
n + 2 = 3q + 2 
so, n + 2 is not divisible by 3. 
n + 4 = 3q + 4 
so, n + 4 is not divisible by 3. 
Putting r = 1 in (i), we get 
n = 3q + 1 
so, n is not divisible by 3. 
n + 2 = 3q + 3 = 3(q + 1) 
so, n + 2 is divisible by 3. 
n + 4 = 3q + 5

so, n + 4 is not divisible by 3. 
Putting r = 2 in (i), we get 
n = 3q + 2 
so, n is not divisible by 3. 
n + 2 = 3q + 4 
so, n + 2 is not divisible by 3. 
n + 4 = 3q + 6 = 3(q + 2) 
so, n + 4 is divisible by 3 
Thus for each value of r such that 0 ≤ r < 3  only one out of n, n + 2 and n + 4 is divisible by 3.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...