Mathematica 9 is now available

LCM

Usage

LCM[ ,  , ... ] 给出整数  的最小公倍数。


Notes

• 整数数学函数(参见 节 A.3.10).
LCM 也可以对有理数使用; LCM[ ,  , ... ] 给出所有 r/ 是整数的最小有理数.
LCM 有属性 FlatOrderless.
• 参见 Mathematica 全书: 3.2.4.
• 同时参见: GCD, PolynomialLCM.
Further Examples

This gives the least common multiple of the three integers.

In[1]:=  

Out[1]=

Here is the least common multiple of the first 1000 integers.

In[2]:=  

Out[2]=



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.