If u want its derivation,
A number is of the form 2n+1 or 2n
CASE 1: it is of form 2n
then x=2n
x2 = 4n2 = 4(k)
CASE 2: it is of the form 2n+1
then x=2n+1
x2 = 4n2+4n+1
= 4(n2+n)+1
= 4(k)+1
So a square no. is of the form 4n or 4n+1
Prove that, the sequence 11,111,1111,11111,...∞ doesn't have any perfect square.
the members of the sequence are all of the form 4k-1, and no perfect square is of the form 4k-1
If u want its derivation,
A number is of the form 2n+1 or 2n
CASE 1: it is of form 2n
then x=2n
x2 = 4n2 = 4(k)
CASE 2: it is of the form 2n+1
then x=2n+1
x2 = 4n2+4n+1
= 4(n2+n)+1
= 4(k)+1
So a square no. is of the form 4n or 4n+1