Assumptions:
TeX:
\gcd\!\left({n}^{a} - 1, {n}^{b} - 1\right) = {n}^{\gcd\left(a, b\right)} - 1
a \in \mathbb{Z}_{\ge 0} \,\mathbin{\operatorname{and}}\, b \in \mathbb{Z}_{\ge 0} \,\mathbin{\operatorname{and}}\, n \in \mathbb{Z}_{\ge 1}Definitions:
| Fungrim symbol | Notation | Short description |
|---|---|---|
| GCD | Greatest common divisor | |
| Pow | Power | |
| ZZGreaterEqual | Integers greater than or equal to n |
Source code for this entry:
Entry(ID("fdae67"),
Formula(Equal(GCD(Sub(Pow(n, a), 1), Sub(Pow(n, b), 1)), Sub(Pow(n, GCD(a, b)), 1))),
Variables(a, b, n),
Assumptions(And(Element(a, ZZGreaterEqual(0)), Element(b, ZZGreaterEqual(0)), Element(n, ZZGreaterEqual(1)))))