Fungrim home page

Fungrim entry: 927e6e

lcm ⁣(a,b)=abgcd ⁣(a,b)\operatorname{lcm}\!\left(a, b\right) = \frac{\left|a b\right|}{\gcd\!\left(a, b\right)}
Assumptions:aZ  and  bZ  and  (a0  or  b0)a \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; b \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; \left(a \ne 0 \;\mathbin{\operatorname{or}}\; b \ne 0\right)
TeX:
\operatorname{lcm}\!\left(a, b\right) = \frac{\left|a b\right|}{\gcd\!\left(a, b\right)}

a \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; b \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; \left(a \ne 0 \;\mathbin{\operatorname{or}}\; b \ne 0\right)
Definitions:
Fungrim symbol Notation Short description
LCMlcm ⁣(a,b)\operatorname{lcm}\!\left(a, b\right) Least common multiple
Absz\left|z\right| Absolute value
GCDgcd ⁣(a,b)\gcd\!\left(a, b\right) Greatest common divisor
ZZZ\mathbb{Z} Integers
Source code for this entry:
Entry(ID("927e6e"),
    Formula(Equal(LCM(a, b), Div(Abs(Mul(a, b)), GCD(a, b)))),
    Variables(a, b),
    Assumptions(And(Element(a, ZZ), Element(b, ZZ), Or(NotEqual(a, 0), NotEqual(b, 0)))))

Topics using this entry

Copyright (C) Fredrik Johansson and contributors. Fungrim is provided under the MIT license. The source code is on GitHub.

2021-03-15 19:12:00.328586 UTC