Problem 809: (1991 AIME, 8)
For how many real numbers $a$ does the quadratic equation $x^2 + ax + 6a=0$ have only integer roots for $x$?
- With roots $r,s$, $r+s=-a$ and $rs=6a$, so $rs+6r+6s=0$ and $(r+6)(s+6)=36$.
- The unordered factorizations of $36$ are $1\cdot36,2\cdot18,3\cdot12,4\cdot9,6\cdot6$ and their negatives: $10$ in all, giving $10$ different sums $r+s$.
- The answer is $\boxed{010}$.
For how many real numbers $a$ does the quadratic equation $x^2 + ax + 8a=0$ have only integer roots for $x$?