Problem

Source: Turkey TST 2015

Tags: Turkey, TST, 2015, number theory



Let $l, m, n$ be positive integers and $p$ be prime. If $p^{2l-1}m(mn+1)^2 + m^2$ is a perfect square, prove that $m$ is also a perfect square.