Find $x+y$, if $x$ and $y$ are integers and satisfy the equation $y+1/x=25/3$
so I got to the answer by placing $3$ in the $x$ cause it looked like a fraction and $8$ was left for $y$,
My question is: Is there any other/better way to solve this algebraically?
If
$$ \frac{x y +1}{x} = \frac{25}{3} \Rightarrow \left\{\begin{array}{rcl}x y +1 & = & 25 k\\ x & = & 3 k\end{array}\right. $$
hence
$25k-3ky = 1\Rightarrow k(25-3y)=1\Rightarrow y = 8$ etc.