Problem

Source:

Tags: number theory



Determine all pairs $(m,n)$ of positive integers such that $m^2+n^2=2018(m-n)$