Find one integer solution to the following Diophantine equation: \begin{equation*} \\\forall \,x,y \in \mathbb{Z}\\ 6xy + x - y = 274 \end{equation*}
The resultat ist $x = 9$, $y = 5$ (Obtained with wolframalpha )
I need to know a method that allows me to reach such a result. How can I calculate the value of these two variables in a Diophantine equation?
For example: 6xy + x - y = 458
Hint $\ $ This type of diophantine equation is solvable by a generalization of completing the square. Namely, completing a square generalizes to completing a product, using the AC-method, viz.
$$\begin{eqnarray} &&axy + bx + cy\, =\, d,\ \ a\ne 0\\ \overset{\times\,a}\iff\, &&\!\! (ax+c)(ay+b)\, =\, ad+bc\end{eqnarray}\qquad\qquad$$
So the problem reduces to checking which factors of $\,ad+bc\,$ have above form, a finite process.