I have seen this question and its answers. There are some nice answers but I was wondering if my original approach could be solved.
My approach:
Let's assume $m$ is $\operatorname{lcm}(a,b)$ and $d$ is $\gcd(a,b)$ and $m = aq$, $m = br$
We know, $d = ax + by$
So, $\gcd(a,b) \operatorname{lcm}(a,b) = md $
$= m(ax + by) $
$ = (br) ax + (aq) by = ab(rx + qy) $
Is there any way to prove $rx + qy = 1$? I know $x,y$ are relatively prime, so are $q,r$ but couldn't prove this using this information.