Problem 967: (2023 AMC 10b, 14)
How many ordered pairs of integers $(m,n)$ satisfy the equation $m^2+mn+n^2 = m^2n^2$?
$\textbf{(A)}\ 7\qquad\textbf{(B)}\ 1\qquad\textbf{(C)}\ 3\qquad\textbf{(D)}\ 6\qquad\textbf{(E)}\ 5$
- Add $mn$: $(m+n)^2=m^2n^2+mn=mn(mn+1)$, a product of consecutive integers that is a square. This forces $mn=0$ or $mn=-1$.
- $mn=0$: $m+n=0$, so $(0,0)$. $mn=-1$: $(1,-1),(-1,1)$, and indeed $m+n=0$.
- So $3$ pairs. The answer is (C).
How many ordered pairs of integers $(m,n)$ satisfy $m^2-mn+n^2=m^2n^2$?