(French-Slovak Competition 1996) Find all strictly positive integers such that with prime.
Problem 415
Official solution
Let's rewrite the equation in the form . If , we see that and . If , it readily follows that necessarily . Therefore, we assume is odd so that divides .
If the conditions of Zsigmondy's theorem are satisfied, there exists a prime factor of that does not divide , so cannot be a power of a prime number. It remains to handle the case , which gives the solution .