Problem:
a. Determine all pairs of positive integers satisfying the equation
b. Prove that if is an integer greater than 1 and different from 3, there are no pairs of positive integers satisfying the equation
Problem:
a. Determine all pairs of positive integers satisfying the equation
b. Prove that if is an integer greater than 1 and different from 3, there are no pairs of positive integers satisfying the equation
Solution:
a. We rewrite the equation in the form
Since the only divisors of a power of 3 are themselves powers of 3, every solution must satisfy the system
with and positive integers such that . If , we get and is a solution. If , substituting into the second equation gives
which is impossible because is greater than 1 and is not divisible by 3. Therefore there is a unique solution, .
b. Suppose first that is an odd number. We can write the equation in the form
and, similarly to before, any solution should satisfy the system
with and positive integers such that . Dividing the polynomial by we get
and, setting , we obtain . Hence the greatest common divisor between and , which is a power of 3 with positive exponent, must also divide , and hence in particular 3 must be a divisor of . Setting , our equation becomes
From case (a) we know that the only solution is . But clearly has no integer solutions for .
Finally suppose is even, and, setting , consider the equation
Considering all possible remainders of the division of by 3, namely the cases , we see that is never divisible by 3, and hence there are no solutions.