Prove that the square of every integer is of the form $3m$ or $3m+1$,where $m \in \mathbb{Z}$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Let $a$ be any integer. According to Euclid's division lemma,for any integer $a$ and divisor $b=3$,there exist unique integers $q$ and $r$ such that $a = 3q + r$,where $0 \le r < 3$.
Thus,the possible values for $r$ are $0, 1, 2$.
Case $1$: If $r = 0$,then $a = 3q$. Squaring both sides,$a^2 = (3q)^2 = 9q^2 = 3(3q^2)$. Let $m = 3q^2$,then $a^2 = 3m$.
Case $2$: If $r = 1$,then $a = 3q + 1$. Squaring both sides,$a^2 = (3q + 1)^2 = 9q^2 + 6q + 1 = 3(3q^2 + 2q) + 1$. Let $m = 3q^2 + 2q$,then $a^2 = 3m + 1$.
Case $3$: If $r = 2$,then $a = 3q + 2$. Squaring both sides,$a^2 = (3q + 2)^2 = 9q^2 + 12q + 4 = 9q^2 + 12q + 3 + 1 = 3(3q^2 + 4q + 1) + 1$. Let $m = 3q^2 + 4q + 1$,then $a^2 = 3m + 1$.
In all cases,the square of an integer is of the form $3m$ or $3m+1$.

Explore More

Similar Questions

For any positive integer $n,$ prove that $n^{3}-n$ is divisible by $6.$

Difficult
View Solution

State whether the following rational number has a terminating decimal expansion or not. If it has,then find it: $\frac{17}{343}$

Write down the decimal expansion of the rational number $\frac{17}{8}$.

The product of three consecutive positive integers is always divisible by $6$.

Express $7429$ as a product of primes.

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