Assumptions:
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 |
---|---|---|
LCM | Least common multiple | |
Abs | Absolute value | |
Pow | Power | |
ZZ | 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)))