Is every integer a solution to a generalized Pell-like equation, like, can we find integer solutions to $ax^2-by^2=n$, $a,b,x,y\in\mathbb{N}$ for any integer $n$?
Specifically, it is difficult to determine the existence to a particular Pell equation. But, I think any integer can satisfy an equation of the form $ax^2-by^2$, that is, any integer can be in the vector space of integer squares. Is this true? I think this has a lot to do with quadratic forms. Any hints? Thanks beforehand.
Setting $a=n+1$ and $x=y=b=1$ gives you $$ax^2-by^2=(n+1)\cdot 1 - 1\cdot 1 = n$$