Two expressions are powers of a prime
Source: Latvian TST for Baltic Way 2022 P16
November 24, 2022
number theory
Problem Statement
Find all triples of positive integers , where is a prime, such that both and are some powers of (not necessarily the same).