This question was asked in Ex 1.1, 4
Prove that the square of any integer is of the form 3 m or 3 m 1, by division algorithm.

Sai Anna's image