Problem

Source: IMO 1996, Problem 4, Day 2, IMO Shortlist 1996, N2

Tags: modular arithmetic, number theory, Perfect Squares, IMO, IMO 1996, quadratic reciprocity, IMO Shortlist



The positive integers $ a$ and $ b$ are such that the numbers $ 15a + 16b$ and $ 16a - 15b$ are both squares of positive integers. What is the least possible value that can be taken on by the smaller of these two squares?