Given two elements $a,b$ in the Euclidean ring $R$ their least common miltiple $c\in R$ is an element in $R$ such that $a\mid c$ and $b\mid c$ and such that whenever $a\mid x$ and $b\mid x$ then $c\mid x$.
a) Prove that any two elements in the Euclidean ring $R$ have a least common multiple in $R$.
b) If the least common multiple of $a$ and $b$ is denoted by $[a,b]$, prove that $[a,b]=ab/(a,b).$
Proof:
(a) Consider the ideals $(a)$ and $(b)$, where $(x)=xR$. Their intersection $(a)\cap (b)$ is also ideal of $R$ since Euclidean ring is the ring of principle ideal then $(a)\cap (b)=(c)$ for some $c\in R$. I proved that this $c$ has all needed properties of least common multiple. Thus the LCM of $a$ and $b$ exists.
(b) We know that $\text{gcd}(a,b)$ exists in Euclidean ring for any $a,b\neq 0 \in R$. But I have no thoughts how to prove that $[a,b]=ab/(a,b)$.
So I would be very thankful answer.