Let $m$ and $n$ be two positive integers such that $m+n+mn=118.$
My question is: Can the value of $(m+n)$ be uniquely determined?
I find by inspection that the pair $(m,n)=(16,6)$ (or the pair $(6,16)$) satisfies the above equation, i.e. $m+n=22$ satisfies the above equation. I guess that the value of $(m+n)$ can't be uniquely determined, but I neither find any other values of $m+n$. Any hints/way to tackle this problem?
This type of diophantine equation is solvable by a generalization of completing the square. Namely, completing a square generalizes to completing a product as follows:
$$\begin{eqnarray} &&axy + bx + cy\, =\, d,\ \ a\ne 0\\ \overset{\times\,a}\iff\, &&\!\! (ax+c)(ay+b)\, =\, ad+bc\end{eqnarray}\qquad\qquad$$
Applied to the OP we deduce $\ xy + x + y = d \iff (x+1)(y+1) =\, d+1$
By uniqueness of prime factorizations we can enumerate the finite number of ways that $\,d+1\,$ splits into two factors $\,x+1,\ y+1\,$ then solve for $\,x,y\,$ in each case.