Peter G. answered 10/14/16
Tutor
4.9
(61)
Success in math and English; Math/Logic Master's; 99th-percentile
By Euclidean division, the remainder of n divided by 3 is 1 or 2, i.e. n can be written as
n = 3k+r,
where r is 1 or 2 and k is an integer.
(3k+1)2+2 = 9k2+6k+1+2
= 3(3k2+2k+1)
A similar argument shows that (3k+2)2+2 is divisible by 3.