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

The following real number is expressed in decimal form. Determine whether it is rational or not. If it is rational,express it in the form of $\frac{p}{q}$. $3.127$

Find the largest number that divides $2053$ and $967$ and leaves a remainder of $5$ and $7$ respectively.

Express $7429$ as a product of primes.

$A$ rational number in its decimal expansion is $327.7081$. What can you say about the prime factors of $q$,when this number is expressed in the form $\frac{p}{q}$? Give reasons.

The decimal form of $\frac{12}{35}$ is $\ldots \ldots \ldots \ldots$

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