Problem 3
Determine all pairs (p,n), where p is a prime number and n is a positive integer, for which (n^p+1)/(p^n+1) is an integer.
Step 7 of 7: Check the solutions
Detailed analysis
For n=p, the quotient is 1. Together with the two solutions from the p=2 check, these are exactly all pairs.