If $x$ and $y$ are positive integers with $x>y+1$, then $x^2 -y^2$ is not prime.
How do you prove this? I have tried doing it but I couldn't prove it.
If $x$ and $y$ are positive integers with $x>y+1$, then $x^2 -y^2$ is not prime.
How do you prove this? I have tried doing it but I couldn't prove it.
You know that
$$x^2-y^2=(x-y)(x+y).$$
So if $x>y+1$, then $x-y\geqslant 2$, so $x^2-y^2$ can not be prime because it can be written has the product of two integers greater than $2$.