show that the square of any positive integer cannot be of the form 6 m + 2 or 6 m + 5 for any integer m
Dear Student,
Let a be any positive integer.
By Euclid's division lemma ,
a = bm + r , where b = 6
⇒ a = 6m + r
where r can be 0, 1, 2, 3, 4, 5.
∴ a = 6m if r = 0
a = 6m + 1 if r = 1
a = 6m + 2 if r = 2
a = 6m + 3 if r = 3
a = 6m + 4 if r = 4
a = 6m + 5 if r = 5
From all these cases, it is clear that square of any positive integer can not be of the form of
6m + 2 or 6m + 5.
Regards