Assumptions:
TeX:
\gcd\!\left(a, 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("80f20f"),
Formula(Equal(GCD(a, Sub(a, 2)), Add(1, Div(Add(1, Pow(-1, a)), 2)))),
Variables(a),
Assumptions(Element(a, ZZ)))