|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
GCD
GCD[n1, n2, ...]
gives the greatest common divisor of the
.
DetailsDetails
- Integer mathematical function, suitable for both symbolic and numerical manipulation.
- GCD works with ordinary and Gaussian integers.
- GCD works not only with integers but also rational numbers, both real and complex.
- For rational numbers
, GCD[r1, r2, ...] gives the greatest rational number r for which all the
are integers. - GCD has attributes Flat and Orderless.
- GCD automatically threads over lists.
New in 1 | Last modified in 4
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

