Definition (greatest common divisor, least common multiple)
Let $R$ be an integral domain, and $a_1, \ldots, a_n\in R$.
We say $d\in R$ is a greatest common divisor (GCD) of $a_1, \ldots, a_n$ if
-
$d\mid a_i$ for all $i$; and
-
if $d'\mid a_i$ for all $i$, then $d' \mid d$.
We say $m\in R$ is the least common multiple (LCM) of $a_1, \ldots, a_n$ if
-
$a_i \mid m$ for all $i$; and
-
if $a_i \mid m'$ for all $i$, then $m\mid m'$.