Q) Show that the square of any odd positive integer is of the type 6Q or 6Q+ 3 or 6Q + 5 where Q is some integer.
I am able to find out the 6Q but not 6Q + 3 and 6Q + 5
this is how I did 6Q
let b = 6 so according to the Euclid Division Lemma
a = bq + r
where 0 ≤ r < b
so,
r = 0,1,2,3,4,5
Case - 1
r = 0
a = 6q + 0
Squaring both the sides
(a)² = (6q)²
(a)² = 36q²
(a)² = 6(6q)² [where let, Q = 6q²]
(a)² = 6Q
Hence proved
Please like this also prove 6Q + 3 and 6Q + 5
$(2n + 1)^2 = 4n^2 + 4n + 1$.
Now let $n = 3k +i$ where $i = 0,1,-1$.
$(2n+1)^2 = 4(9k^2 + 6ki +i^2) + 4(3k + i) + 1 =$
$6(6k^2 + 4ki + 2k) + 4i^2 + 4i + 1$
And $4i^2 + 4i + 1 = 1$ if $i = 0$.
$4i^2 + 4i + 1 = 9=6 + 3$ if $i=1$
and $4i^2 + 4i + 1 = $ if $i = -1$
So all odd squares are of then for $6q + 1$ or $6q + 3$ and none are of the form $6q$, $6q + 2$ or $6q + 4$ (which are even and thus impossible) nor of form $6q + 5$.
The statement you wanted to prove is out and out wrong.