Quote:
Originally Posted by kumarbe
Guys ,plx throw some light on this ..
|
If a number is divisble by 2 and not by 4 it cannot be wriiten as the difference of two squares.
either the numbers are odd or even both so that the difference is a multiple of 2.
so,case 1:both even.
(2a)^2-(2b)^2=4a^2-4b^2=4k
case 2:both odd
(2a+1)^2-(2b-1)^2
4a^2+4a+1-4b^2+4b-1
again 4k.
so,it should be divisible by 4 always,if it is divisible by 2
hope that helps.