Problem 2
Find all positive integers such that and are both integers.
Step 6 of 7: Finish the adjacent case
Detailed analysis
Directly checking b=2,3,4,5 leaves only (a,b)=(3,2); the second fraction is 1 in every adjacent case, so both conditions are satisfied there.