Browse · MathNet
Print62nd Czech and Slovak Mathematical Olympiad
Czech Republic number theory
Problem
Find all pairs of primes , for which there exists a positive integer such that
Solution
First, we will deal with the case when the wanted primes and are distinct. Then, the numbers and are relatively prime: the product is divisible by two primes only (namely and ), while the sum is divisible by neither of these primes. We will look for a positive integer which can be a common divisor of both and . If and, at the same time, , then and also , so can only be one of the numbers and . Thus the fraction either is in lowest terms, or will be in lowest terms when reduced by two, depending on whether the integer is even, or odd.
If is even, we must have The numbers , are thus the roots of the quadratic equation , whose discriminant is apparently negative, so the equation has no solution in the real numbers.
If is odd, we must have (taking into account the reduction by two) The numbers , are thus the roots of the quadratic equation , whose discriminant is negative as well.
Therefore, there is no pair of distinct primes , satisfying the conditions. It remains to analyze the case of . Then, so we must have this is an integer if and only if , i.e. , so or .
To summarize, there are exactly two pairs of primes satisfying the conditions, namely and .
If is even, we must have The numbers , are thus the roots of the quadratic equation , whose discriminant is apparently negative, so the equation has no solution in the real numbers.
If is odd, we must have (taking into account the reduction by two) The numbers , are thus the roots of the quadratic equation , whose discriminant is negative as well.
Therefore, there is no pair of distinct primes , satisfying the conditions. It remains to analyze the case of . Then, so we must have this is an integer if and only if , i.e. , so or .
To summarize, there are exactly two pairs of primes satisfying the conditions, namely and .
Final answer
p = q = 2 and p = q = 5
Techniques
Greatest common divisors (gcd)Vieta's formulasQuadratic functions