Problem

Source:

Tags: quadratics, number theory



Find all pairs $(p,q)$ of real numbers such that $p+q=1998$ and the solutions of the equation $x^2+px+q=0$ are integers.