Suppose that $m,n\ge2$ are integers such that $m+n-1$ divides $m^2+n^2-1$. Prove that the number $m+n-1$ is not prime.
Source: Moldova 2000 Grade 8 P3
Tags: number theory
Suppose that $m,n\ge2$ are integers such that $m+n-1$ divides $m^2+n^2-1$. Prove that the number $m+n-1$ is not prime.