Fungrim home page

Fungrim entry: 959a25

gcd ⁣(amodb,b)=gcd ⁣(a,b)\gcd\!\left(a \bmod b, b\right) = \gcd\!\left(a, b\right)
Assumptions:aZ  and  bZ  and  b0a \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; b \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; b \ne 0
TeX:
\gcd\!\left(a \bmod b, b\right) = \gcd\!\left(a, b\right)

a \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; b \in \mathbb{Z} \;\mathbin{\operatorname{and}}\; b \ne 0
Definitions:
Fungrim symbol Notation Short description
GCDgcd ⁣(a,b)\gcd\!\left(a, b\right) Greatest common divisor
ZZZ\mathbb{Z} Integers
Source code for this entry:
Entry(ID("959a25"),
    Formula(Equal(GCD(Mod(a, b), b), GCD(a, b))),
    Variables(a, b),
    Assumptions(And(Element(a, ZZ), Element(b, ZZ), NotEqual(b, 0))))

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