1987 AHSME Problems/Problem 23
Problem
If is a prime and both roots of
are integers, then
Solution
For integer roots, we need the discriminant, which is , to be a perfect square. Now, this means that
must divide
, as if it did not, there would be a lone prime factor of
, and so this expression could not possibly be a perfect square. Thus
divides
, which implies
divides
, so we must have
,
, or
. It is easy to verify that neither
nor
make
a perfect square, but
does, so the answer is
, which is
.
See also
1987 AHSME (Problems • Answer Key • Resources) | ||
Preceded by Problem 22 |
Followed by Problem 24 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 • 26 • 27 • 28 • 29 • 30 | ||
All AHSME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.