Problem

Source: IMO 1986, Day 1, Problem 1

Tags: quadratics, modular arithmetic, number theory, system of equations, Perfect Squares, IMO, IMO 1986



Let $d$ be any positive integer not equal to $2, 5$ or $13$. Show that one can find distinct $a,b$ in the set $\{2,5,13,d\}$ such that $ab-1$ is not a perfect square.