This question was asked in Example 2
Use euclid's division Lemma to show that the square of any positive integer is either of the form of 3M or 3M 1 for some integer m
Ayush Varshney's image