Assumptions:
TeX:
\gcd\!\left(a, 2\right) = 1 + \frac{1 + {\left(-1\right)}^{a}}{2} a \in \mathbb{Z}
Definitions:
Fungrim symbol | Notation | Short description |
---|---|---|
GCD | Greatest common divisor | |
Pow | Power | |
ZZ | Integers |
Source code for this entry:
Entry(ID("5fb5e2"), Formula(Equal(GCD(a, 2), Add(1, Div(Add(1, Pow(-1, a)), 2)))), Variables(a), Assumptions(Element(a, ZZ)))