Question: For some positive integers $x, y$ let $g=\gcd(x,y)$ and $\ell=lcm(2x,y)$. Given that the equation $xy+3g + 7\ell = 168$ holds, the largest value of $2x+y$ is...
Is my answer below acceptable as a correct answer?
My Answer: Since $\ell=lcm(2x,y)$, $lcm(x,y)=\ell$ or $lcm(x,y)=\frac{1}{2}\ell$
- Case 1: $lcm(x,y)=\ell$
\begin{align*} xy+3g + 7\ell &= 168\\ g\ell+3g+7\ell &=168\\ (g+7)(\ell+3)&=189 \end{align*} The last equation gives $g=2$ and $\ell=18$ where no integer $x$ and $y$ satisfy the conditions
- Case 2: $lcm(x,y)=\frac{1}{2}\ell$
\begin{align*} xy+3g + 7\ell &= 168\\ \frac{1}{2}g\ell+3g+7\ell &=168\\ gl+6g+14\ell&=336\\ (g+14)(\ell+6)&=420 \end{align*} The last equation gives $g=1$ and $\ell=22$. Then $gcd(x,y)=1$ and $lcm(x,y)=11$. It means that $x=1,y=11$ or $x=11, y=1$.
The largest possible value of $2x+y=23$
How do I know that $x=1,y=11$ or $x=11, y=1$ are the olny solutin?How can we make sure of that?
solution-verificationquestion to be on topic you must specify precisely which step in the proof you question, and why so. This site is not meant to be used as a proof checking machine. – Bill Dubuque Oct 31 '23 at 20:35