Mathematica 9 is now available

GCD

Usage

GCD[ ,  , ... ] 用来给出整数  的最大公约数.


Notes

• 整数数学函数(参见 A.3.10节).
GCD[ , ... ]给出所有  的公共整数因子.
GCD也同样对有理数起作用; GCD[ ,  , ... ] 给出使得所有  /r 都为整数的最大有理数 r .
GCD具有FlatOrderless属性.
• 参见 Mathematica 全书: 3.2.4节.
•同时参见: PolynomialGCD, Rational, LCM, ExtendedGCD.
Further Examples

Here are a couple of greatest common divisor problems.

In[1]:=  

Out[1]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.