The SlugMath Wiki is under heavy development!
State/Canonical decompositions can be used to find GCD and LCM
From SlugmathWiki
Proposition: (Canonical decompositions can be used to find GCD and LCM.) Suppose that $a,b \in \NN$, and $a,b \neq 0$. Let $(e_p)$ and $(f_p)$ be the exponents occurring in the canonical decomposition of $a$ and $b$ into primes: $$a = \prod_{p \in P} p^{e_p}, \mbox{ and } b = \prod_{p \in P} p^{f_p}.$$ Let $g_p = min(e_p, f_p)$, and let $\ell_p = max(e_p, f_p)$, for all $p \in P$.
Then, the canonical decompositions of $GCD(a,b)$ and $LCM(a,b)$ are: $$GCD(a,b) = \prod_{p \in P} p^{g_p}, \mbox{ and } LCM(a,b) = \prod_{p \in P} p^{\ell_p}.$$
Logical Connections
This statement logically relies on the following definitions and statements: Def/Canonical decomposition into primes, Def/Greatest common divisor, Def/Least common multiple, State/Divisibility corresponds to inequalities of prime exponents
The following statements and definitions rely on the material of this page: State/The GCD times the LCM is the product
To visualize the logical connections between this statements and other items of mathematical knowledge, you can visit the following cluster(s), and click the "Visualize" tab: Clust/Basic number theory

