Lcm - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

Lcm

inert lcm function

 Calling Sequence Lcm(a, b,...)

Parameters

 a, b, ... - multivariate polynomials over the rationals

Description

 • The Lcm function is a placeholder for representing the least common multiple of an arbitrary number of polynomials with rational coefficients. Lcm is used in conjunction with mod or modp1 as described below which define the coefficient domain.
 • The call Lcm(a, b, ...) mod p computes the least common multiple of the polynomials modulo p a prime integer. The inputs must be polynomials over the rationals or over a finite field specified by RootOf expressions.
 • The call modp1(Lcm(a, b, ...), p) does likewise for polynomials in the modp1 representation.

Examples

 > $\mathrm{Lcm}\left({x}^{2}+1,{x}^{2}+x\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}\mathbf{mod}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}2$
 ${{x}}^{{3}}{+}{x}$ (1)

 See Also