I have been trying to solve the following problem:
Classify triples of integers $(m,n,k)$ satisfying the following equation $2mn+m+n=k^{2}$.
It is very easy to obtain some solutions. However, I am interested in a classification, if possible of every such triples. Thank you for any help concerning this problem.
Let $k$ be an arbitrary integer. let $n'$ be any divisor of $k':=2k^2+1$, and let $m'=k'/n'$. Clearly $m'$ and $n'$ are odd integers, so we can define $n=\dfrac{n'-1}{2}$ and $m=\dfrac{m'-1}{2}$. The triplet $(n,m,k)$ satisfy $2nm+n+m=k^2$. In this way we obtain all the solutions.