Skip to main content
OlympiadHQ

Browse · harp

Print

smc

number theory senior

Problem

If is a prime and both roots of are integers, then
(A)
(B)
(C)
(D)
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 .
Final answer
D