Skip to main content

1991 AIME Problem 8

Problem 8 of 15IntermediateAlgebraNumber Theory

For how many real numbers aa does the quadratic equation x2+ax+6a=0x^2+ax+6a=0 have only integer roots for x?x?

Your answer

Integer from 0 to 999
Show solution

Solution

Let the integer roots be rr and s.s. Vieta’s formulas give r+s=−ar+s=-a and rs=6a,rs=6a, so rs=−6(r+s).rs=-6(r+s). Therefore (r+6)(s+6)=36.(r+6)(s+6)=36. Conversely, every ordered integer factorization uv=36uv=36 gives integer roots r=u−6,r=u-6, s=v−6,s=v-6, and a=12−u−v.a=12-u-v. Unordered positive factor pairs of 3636 have sums 37,37, 20,20, 15,15, 13,13, 12,12, and the corresponding negative factor pairs have their negatives as sums. These ten sums are distinct, so they give 1010 distinct values of a.a.
AoPS wiki

Tagged: Diophantine Equation · Vieta’s Formulas · factoring

More practice