Problem:
Determine all values of such that , where and are positive integers and is a prime number.
Problem:
Determine all values of such that , where and are positive integers and is a prime number.
Solution:
The possible values of are , and .
We rewrite the equation in the form . Since the only divisors of are powers of , the equation is equivalent to the system
where and are natural numbers such that and . Subtracting the second equation from the first, we obtain
If , this last equation becomes , from which we immediately obtain the solution .
If instead , since divides , then or . Moreover, since does not divide , or . Substituting, we find the other two solutions and .