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

Vedclass pdf generator app on play store
Vedclass iOS app on app store
Any positive integer $n$ can be expressed in the form $3q, 3q+1,$ or $3q+2$ for some integer $q \ge 0$.
Case $1$: If $n = 3q$,then $n$ is divisible by $3$. In this case,$n+2 = 3q+2$ (remainder $2$) and $n+4 = 3q+4 = 3(q+1)+1$ (remainder $1$). Thus,only $n$ is divisible by $3$.
Case $2$: If $n = 3q+1$,then $n+2 = (3q+1)+2 = 3q+3 = 3(q+1)$,which is divisible by $3$. In this case,$n = 3q+1$ (remainder $1$) and $n+4 = 3q+5 = 3(q+1)+2$ (remainder $2$). Thus,only $n+2$ is divisible by $3$.
Case $3$: If $n = 3q+2$,then $n+4 = (3q+2)+4 = 3q+6 = 3(q+2)$,which is divisible by $3$. In this case,$n = 3q+2$ (remainder $2$) and $n+2 = 3q+4 = 3(q+1)+1$ (remainder $1$). Thus,only $n+4$ is divisible by $3$.
Conclusion: In all possible cases,exactly one of the numbers $n, n+2, n+4$ is divisible by $3$.

Explore More

Similar Questions

According to Euclid's division lemma,for given positive integers $a$ and $b,$ there exist unique non-negative integers $q$ and $r$ such that $a = bq + r,$ where ...........

Difficult
View Solution

Simplify: $\frac{1}{\sqrt{6}-\sqrt{5}}-\frac{3}{\sqrt{5}-\sqrt{2}}-\frac{4}{\sqrt{6}+\sqrt{2}}$

Difficult
View Solution

Show that the cube of any positive integer is of the form $4m, 4m+1$ or $4m+3$ for some integer $m$.

Difficult
View Solution

If two positive integers $a$ and $b$ are written as $a = x^3 y^2$ and $b = x y^3$,where $x$ and $y$ are prime numbers,then $HCF(a, b)$ is:

What is the largest number that divides $626$,$3127$,and $15628$ and leaves remainders $1$,$2$,and $3$ respectively?

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo