Find all integers such that
Problem 315
Official solution
The only prime divisors of and are 2 and 3. Since they are coprime, one is a power (possibly multiplied by -1) of 2 and the other is a power of 3 (possibly multiplied by -1). We are thus reduced exactly to Exercise 19 which provides the solutions .