Problem

Source: Indonesian Mathematical Olympiad 2014 Day 1 Problem 2

Tags: calculus, integration, number theory unsolved, number theory



For some positive integers $m,n$, the system $x+y^2 = m$ and $x^2+y = n$ has exactly one integral solution $(x,y)$. Determine all possible values of $m-n$.