Quadratic Equations or Number Theory