Fungrim home page

Fungrim entry: 1bbdaf

lcm ⁣(a+nb,b)=a+nblcm ⁣(a,b)a\operatorname{lcm}\!\left(a + n b, b\right) = \frac{\left|a + n b\right| \operatorname{lcm}\!\left(a, b\right)}{\left|a\right|}
Assumptions:aZ{0}andbZandnZa \in \mathbb{Z} \setminus \left\{0\right\} \,\mathbin{\operatorname{and}}\, b \in \mathbb{Z} \,\mathbin{\operatorname{and}}\, n \in \mathbb{Z}
TeX:
\operatorname{lcm}\!\left(a + n b, b\right) = \frac{\left|a + n b\right| \operatorname{lcm}\!\left(a, b\right)}{\left|a\right|}

a \in \mathbb{Z} \setminus \left\{0\right\} \,\mathbin{\operatorname{and}}\, b \in \mathbb{Z} \,\mathbin{\operatorname{and}}\, n \in \mathbb{Z}
Definitions:
Fungrim symbol Notation Short description
LCMlcm ⁣(a,b)\operatorname{lcm}\!\left(a, b\right) Least common multiple
Absz\left|z\right| Absolute value
ZZZ\mathbb{Z} Integers
Source code for this entry:
Entry(ID("1bbdaf"),
    Formula(Equal(LCM(Add(a, Mul(n, b)), b), Div(Mul(Abs(Add(a, Mul(n, b))), LCM(a, b)), Abs(a)))),
    Variables(a, b, n),
    Assumptions(And(Element(a, SetMinus(ZZ, Set(0))), Element(b, ZZ), Element(n, ZZ))))

Topics using this entry

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

2019-06-18 07:49:59.356594 UTC