Determine the number of quadratic polynomials , where are not necessarily distinct (positive) prime numbers less than 50, whose roots are distinct rational numbers.
Solution
The existence of distinct rational roots means that the given quadratic splits into linear factors. Then, since are both prime, we get that the following are the only possible factorizations: - - - - In the first case, observe that since , we have , so is odd and exactly one of is equal to 2. Thus, we get a solutions for every pair of twin primes below 50, which we enumerate to be , giving 12 solutions in total. Similarly, the second case gives , for another 12 solutions. In the third case, if are both odd, then is even and thus equal to 2. However, this gives , which is impossible. Therefore, at least one of is equal to 2. If , we get , which we find has 4 solutions: . Similarly, there are four solutions with . However, we count the solution twice, so we have a total of 7 solutions in this case. Finally, in the last case so there are no solutions. Hence, we have a total of solutions.