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

  1. $d\mid a_i$ for all $i$; and

  2. 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

  1. $a_i \mid m$ for all $i$; and

  2. if $a_i \mid m'$ for all $i$, then $m\mid m'$.