Could someone please tell me whether my proof is okay? I was inspired by this proof and yet I was confused what they meant by common divisor and how it connects to common multiple.
If $\gcd(a,b)=1$, then $\operatorname{lcm}(a,b)=ab$.
Assume $\gcd(a,b)=1$. Then $a$ and $b$ are relatively prime. Then let $a=p_{1}p_{2}\cdots p_{n}$ and $b=q_{1}q_{2}\cdots q_{m}$ for primes $p_{i}$ and $q_{j}$ with $p_{i}\neq q_{j}$ for all $i,j$. Let $m$ be a common multiple of $a$ and $b$. Then $a \mid m$ and $b \mid m$. Since $\gcd(a,b)=1$, $ab \mid m$. Then there exists a positive integer $k$ such that $m=abk=(p_{1}p_{2}\cdots p_{n})(q_{1}q_{2}\cdots q_{m})k$. Then the least common multiple of $a$ and $b$ would be when $k=1$. Then $\operatorname{lcm}(a,b)=ab$.
I really do not find my proof very good. I get confused in the last part, connecting $abk$ with $\operatorname{lcm}(a,b)$. Any help is appreciated…