Browse · MathNet
PrintCroatian Mathematical Society Competitions
Croatia algebra
Problem
Find all pairs of prime integers such that the solutions of the quadratic equation are two distinct integers.
Solution
Let the roots of be and , with and both integers.
By Vieta's formulas:
Since and are primes, is the sum of two distinct integers, and is their product.
Let and be distinct integers. Since is prime, implies that one of or is and the other is , or one is and the other is .
Case 1: , (with prime, ) Then But must be prime, so is prime. Since is prime , , so is negative and prime. The only negative primes are So (not prime), , (not prime), (not prime), etc. So only gives (which is prime).
Check: , roots and (distinct integers).
Case 2: , (with prime, ) Then must be prime, so is prime. Try , (prime), , (not prime), , (not prime), , (not prime), etc. So only gives (prime).
Check: , roots and (distinct integers).
Case 3: , (already considered in Case 1). Case 4: , (already considered in Case 2).
Therefore, the only pairs of prime integers such that the solutions of are two distinct integers are:
By Vieta's formulas:
Since and are primes, is the sum of two distinct integers, and is their product.
Let and be distinct integers. Since is prime, implies that one of or is and the other is , or one is and the other is .
Case 1: , (with prime, ) Then But must be prime, so is prime. Since is prime , , so is negative and prime. The only negative primes are So (not prime), , (not prime), (not prime), etc. So only gives (which is prime).
Check: , roots and (distinct integers).
Case 2: , (with prime, ) Then must be prime, so is prime. Try , (prime), , (not prime), , (not prime), , (not prime), etc. So only gives (prime).
Check: , roots and (distinct integers).
Case 3: , (already considered in Case 1). Case 4: , (already considered in Case 2).
Therefore, the only pairs of prime integers such that the solutions of are two distinct integers are:
Final answer
(3, 2) and (-3, 2)
Techniques
Vieta's formulasPrime numbersQuadratic functions