Fungrim home page

Fungrim entry: 7a1799

lcm ⁣(a,a2)=a(a2)2(1+1(1)a2)\operatorname{lcm}\!\left(a, a - 2\right) = \frac{\left|a \left(a - 2\right)\right|}{2} \left(1 + \frac{1 - {\left(-1\right)}^{a}}{2}\right)
Assumptions:aZa \in \mathbb{Z}
TeX:
\operatorname{lcm}\!\left(a, a - 2\right) = \frac{\left|a \left(a - 2\right)\right|}{2} \left(1 + \frac{1 - {\left(-1\right)}^{a}}{2}\right)

a \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
Powab{a}^{b} Power
ZZZ\mathbb{Z} Integers
Source code for this entry:
Entry(ID("7a1799"),
    Formula(Equal(LCM(a, Sub(a, 2)), Mul(Div(Abs(Mul(a, Sub(a, 2))), 2), Add(1, Div(Sub(1, Pow(-1, a)), 2))))),
    Variables(a),
    Assumptions(Element(a, 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-11-19 15:10:20.037976 UTC