Problem:
If p is a prime and both roots of x2+pxβ444p=0 are integers, then
Answer Choices:
A. 1<pβ€11
B. 11<pβ€21
C. 21<pβ€31
D. 31<pβ€41
E. 41<pβ€51
Solution:
Applying the quadratic formula to x2+pxβ444p=0, we find that its discriminant, p(p+1776), must be a perfect square. This implies that p+1776, and hence 1776, must be a multiple of p. Since 1776=24β
3β
37, it follows that p=2,3 or 37. It is easy to see that neither 2(2+1776) nor 3(3+1776) is a perfect square; so p=37, which indeed satisfies the conditions of the problem, leading to 111 and β148 as the two roots. Since 31<37β€41, the correct answer is (D).
OR
Rewrite the equation as x2=p(444βx) and observe that pβ£x2 (i.e., p is a factor of the integer x2). Since p is prime, it follows that pβ£x and so x=np for some integer n. Substituting, the equation becomes n2p=444βnp, from which n(n+1)p=444. Since the factorization of 444 into primes is 3β
4β
37, it is evident that p=37,n=3 or β4, and x=111 or β148.