I'm trying to find the number of positive integer solutions, in terms of $a$ and $b$, to the equation:
$$x^2+ax=y^2+by$$
I have tried many approaches but couldn't seem to get an answer. Is this possible?
EDIT:
I should make clear that $x$ and $y$ are variables whose only restrictions are that they must be positive integers, and $a$ and $b$ are positive integer constants.
I am looking to find the number of unique $x,y$ pairs given the constants $a$ and $b$.