Problem

Source: IMO 1981, Day 1, Problem 3

Tags: algebra, polynomial, Vieta, number theory, IMO, IMO 1981, Diophantine equation



Determine the maximum value of $m^2+n^2$, where $m$ and $n$ are integers in the range $1,2,\ldots,1981$ satisfying $(n^2-mn-m^2)^2=1$.