SOLUTION: x and y are integers. show that x^2-y^2 is odd or divisible by 4

Algebra.Com
Question 366474: x and y are integers. show that x^2-y^2 is odd or divisible by 4
Answer by Jk22(389)   (Show Source): You can put this solution on YOUR website!
let x be even, y even : x = 2m, y = 2n

then x^2 - y^2 = 4m^2 - 4n^2 = 4 (m^2 - n^2) which is divisible by 4

if x were odd : x = 2m + 1

x^2 - y^2 = 4m^2 + 4m + 1 + 2n^2 = 2(2m^1 + 2m + 2n^2) + 1, which is odd

if x even, y odd, we find this is odd, similar as above.

if x odd, y odd, 4m^2 + 4m + 1 - 4n^2 - 4n - 1, which is divisible by 4



RELATED QUESTIONS

If 5x-y is divisible by 4 and 2x+3y is odd. Then 7x+2y is odd for all x,y ∈Z. Prove by (answered by ikleyn,math_tutor2020)
If 5x-y is divisible by 4 and 2x+3y is odd. Then 7x+2y is odd for all x,y... (answered by ikleyn)
Hi. I'm an adult musician who sometimes uses mathy stuff to generate musical structures.... (answered by mangopeeler07,jim_thompson5910)
If x and y are the two digits of 653xy such that the number is divisible by 80, what is... (answered by checkley77)
Prove:the sum of the squares of two odd integers cannot be a perfect square, i.e, if x... (answered by amarjeeth123)
Prove that if ‘a’ and ’b’ are odd positive integers, then a2+b2 is even but not divisible (answered by richard1234)
Show by counterexample that (x + y)^-2 and x^-2 + y ^-2 are not equivalent. (answered by edjones)
If P(x)=(g(x^3))+(xh(x^3)) is divisible by (x^2)+x+1,then show that g(x) and h(x) are... (answered by KMST)
If x and y are positive consecutive odd integers, where y > x, which of the following is... (answered by ankor@dixie-net.com)