integer roots x^2 = 665*y + 296