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.