Quadratic Equations or Integer Solutions