Assumptions:
TeX:
\operatorname{lcm}\!\left(a, 2\right) = \left|a\right| \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("157c33"), Formula(Equal(LCM(a, 2), Mul(Abs(a), Add(1, Div(Sub(1, Pow(-1, a)), 2))))), Variables(a), Assumptions(Element(a, ZZ)))