Are a, b integers as well? If so, then another criterion comes from the rational roots test:Originally Posted by Jameson
Let n be a positive integer, then let
Thus we know that the only rational b values that satisfy this equation are of the form:
Since b must be an integer, the only possible values for b are those for which factors of n are factors of a^2-n.
Just a thought.