2. Find all such triples of prime numbers and , that .
Problem 903
Official solution
Answer: .
First solution. Rewrite the relation as
If , it becomes . Then is a power of two, so and . If , the relation becomes , from which , which is impossible. We will further assume that and are odd prime numbers. But then the prime number is also odd, otherwise the left side of is negative. Therefore, and are even numbers, so and or and . If , in the first case and , and in the second case . Thus, we can assume that . Consider the first case. Since and are not divisible by 3 and , has the form , but then , which is impossible. Consider the second case. Since and are not divisible by 3 and , has the form , but then , which is also impossible.
Second solution. From the condition, it follows that . Multiply by the denominators and rewrite the relation as . From this, in particular, we get that is divisible by . Therefore, is also divisible by . On the other hand, is also divisible by . Thus, divides the greatest common divisor of the numbers and , but this divisor is 8. Therefore, only three cases are possible: and . Note immediately that in the last three cases and, in particular, is not divisible by three.
The first case is possible only when and , and then , which is the first solution.
In the second case, and then . If gives a remainder of 2 when divided by three, then will be divisible by three, which is impossible. If gives a remainder of 1 when divided by three, then will be divisible by three and, therefore, and , which gives the second solution.
In the third case, and then . If gives a remainder of 2 when divided by three, then will be divisible by three, which is impossible. If gives a remainder of 1 when divided by three, then will be divisible by three and, therefore, and , which is the third solution.
In the fourth case, and then . If gives a remainder of 2 when divided by three, then will be divisible by three, which is impossible. If gives a remainder of 1 when divided by three, then will be divisible by three and, therefore, and , which is impossible.