Let a be any positive integer
Let b = 3
By dividing algorithm rule for a and b : a = 3q + r, for q > 0,and 0 ≤ r <
The possible remainders are 0, 1,
So, a = 3q , 3q+1, 3q+2, 3q+3, where q is the
Let us consider a = 3q+0,3q+1
a = 3q+0
a = 3q
a2 = (3q)2
a2 = q2
a2 = (3q2)
Here 3(3q2) is in the form of 3p
p = q2
Let us consider a = 3q+0,3q+1
a = 3q+1
a2 = (3q+1)2
a2 = (3q)2+()2 + 2(3q)()
a2 = (3q2)+ + q
a2 = (3q2+2q) + 1
Here a is in the form of p+1
p = q2 + 2q