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

Simplify: $\frac{3+\sqrt{6}}{17 \sqrt{3}-2 \sqrt{32}+3 \sqrt{18}-4 \sqrt{48}}$

Find the square root of: $\frac{7}{4} + \sqrt{3}$

The smallest positive number greater than $5$ such that when it is divided by $20, 30,$ or $40,$ it leaves the remainder $5$ is:

Prove that $\sqrt{p}+\sqrt{q}$ is irrational,where $p$ and $q$ are distinct prime numbers.

The $\text{g.c.d.}$ $(24, 63) = \dots$

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