Problem 3
Find all pairs of positive integers for which there exist infinitely many positive integers such that is itself an integer.
Step 3 of 3: Reduce the remaining cases
In plain words
Reduce the remaining cases
Detailed analysis
Put . Modulo the denominator, the numerator reduces to . Checking , , and leaves only . Finally , so works.