Functions and operators\gcd

\gcdCommand

Used for greatest-common-divisor notation in number theory and algebra.

\gcd
Available in
base
Kind
prefix
Allowed mode
math
Frequency
0.04% of corpus formulasrank 136 of 263
Commonality
medium
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\gcd

Takes no arguments. Reading argspecs

Examples#

\gcd(a, b)
\gcd_{i}

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

Equivalent forms#

  • \operatorname*{gcd}exact

    Using amsmath

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\gcdPositive · baselinePassPassPass
All 74 in Functions and operators