MathLabs

Problem 1

Let dd be any positive integer not equal to 22, 55, or 1313. Show that one can find distinct elements aa and bb in the set {2,5,13,d}\{2, 5, 13, d\} such that ab−1ab - 1 is not a perfect square.
Step 6 of 6: Contradiction and conclusion
d even contradicts d=2k2−2k+1 oddd\ \text{even contradicts}\ d=2k^2-2k+1\ \text{odd}
Detailed analysis

This contradicts Step 2, where d=2k2−2k+1d=2k^2-2k+1 was shown to be odd for every kk. Hence 2d−1,5d−1,13d−12d-1,5d-1,13d-1 cannot all be perfect squares, so some pair a,b∈{2,5,13,d}a,b\in\{2,5,13,d\} satisfies that ab−1ab-1 is not a perfect square.