Show that the square of any positive integer is either of the form $4q$ or $4q+1$ for some integer $q$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Let $a$ be an arbitrary positive integer. By Euclid's division algorithm,for integers $a$ and $4$,there exist non-negative integers $m$ and $r$ such that $a = 4m + r$,where $0 \leq r < 4$.
Squaring both sides,we get $a^2 = (4m + r)^2 = 16m^2 + 8mr + r^2 = 4(4m^2 + 2mr) + r^2$.
Case $I$: If $r = 0$,$a^2 = 4(4m^2) = 4q$,where $q = 4m^2$.
Case $II$: If $r = 1$,$a^2 = 4(4m^2 + 2m) + 1 = 4q + 1$,where $q = 4m^2 + 2m$.
Case $III$: If $r = 2$,$a^2 = 16m^2 + 16m + 4 = 4(4m^2 + 4m + 1) = 4q$,where $q = 4m^2 + 4m + 1$.
Case $IV$: If $r = 3$,$a^2 = 16m^2 + 24m + 9 = 16m^2 + 24m + 8 + 1 = 4(4m^2 + 6m + 2) + 1 = 4q + 1$,where $q = 4m^2 + 6m + 2$.
Thus,the square of any positive integer is of the form $4q$ or $4q + 1$.

Explore More

Similar Questions

Prove that $6^{n}$ cannot end with the digit $0$ for any natural number $n \in N$.

Two brands of chocolates are available in packs of $24$ and $15$ respectively. If one needs to buy an equal number of chocolates of both kinds,what is the least number of boxes of each kind would one need to buy?

Difficult
View Solution

Prove that the following number is irrational: $3+2\sqrt{5}$

The decimal expansion of $\frac{9}{1600}$ will terminate after $\ldots \ldots \ldots \ldots$ digits.

The $\text{g.c.d.}$ (greatest common divisor) of any two consecutive natural numbers 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