Fungrim home page

Fungrim entry: fdae67

gcd ⁣(na1,nb1)=ngcd(a,b)1\gcd\!\left({n}^{a} - 1, {n}^{b} - 1\right) = {n}^{\gcd\left(a, b\right)} - 1
Assumptions:aZ0  and  bZ0  and  nZ1a \in \mathbb{Z}_{\ge 0} \;\mathbin{\operatorname{and}}\; b \in \mathbb{Z}_{\ge 0} \;\mathbin{\operatorname{and}}\; n \in \mathbb{Z}_{\ge 1}
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
GCDgcd ⁣(a,b)\gcd\!\left(a, b\right) Greatest common divisor
Powab{a}^{b} Power
ZZGreaterEqualZn\mathbb{Z}_{\ge n} 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)))))

Topics using this entry

Copyright (C) Fredrik Johansson and contributors. Fungrim is provided under the MIT license. The source code is on GitHub.

2021-03-15 19:12:00.328586 UTC