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

Without actually performing the long division,state whether the following rational number will have a terminating decimal expansion or a non-terminating repeating decimal expansion: $\frac{13}{3125}$.

For any positive integer $n$,the last digit of $5^n$ is always . . . . . . .

Express $140$ as a product of its prime factors.

Why are the following numbers composite? Explain: $7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1 + 5$

The last digit of $2^{3} \times 5^{125}$ is . . . . . . .

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