Enumerating integer solutions to quadratic equations

285 Views Asked by At

Consider a quadratic equation with integer coefficients in two variables.

$$ax^2+bxy+cy^2+dx+ey+f=0$$

I would like to know how to find the number of integer solutions $(x,y)$ to this equations. Is there some closed formula?