Solve the equation $xy+1=3x+y$ over $\mathbb{Z}^2$
Indeed, $$ xy+1=3x+y \Longleftrightarrow (x-1)(y-3)=2 $$
or $ \textrm{Div}(2)=\{k \in \mathbb{Z}/ k|2 \}=\{-1;1;-2;2\}$ Then
$(x-1)/2 \implies x-1 \in \textrm{Div}(2) \implies x\in \{0,2,-1,3 \} $ $(y-3)/2 \implies y-3 \in \textrm{Div}(2) \implies y\in \{2,4,1,5 \} $ $$S=\{(0,2),(2,4),(-1,1),(2,5)\}$$ AM i right ??
see the edit...
– Jun 20 '14 at 11:02