This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Mathematical Functions / Number Theory /

GCD

FilledSmallSquare GCD[, , ... ] gives the greatest common divisor of the integers .

FilledSmallSquare Integer mathematical function (see Section A.3.10).

FilledSmallSquare GCD[, ... ] gives the integer factors common to all the .

FilledSmallSquare GCD also works with rational numbers; GCD[, , ... ] gives the greatest rational number r for which all the /r are integers.

FilledSmallSquare GCD has attributes Flat and Orderless.

FilledSmallSquare See Section 3.2.4.

FilledSmallSquare See also: PolynomialGCD, Rational, LCM, ExtendedGCD.

FilledSmallSquare New in Version 1.

Further Examples