igcd
greatest common divisor of integers
ilcm
least common multiple of integers
Calling Sequence
Parameters
Description
Thread Safety
Examples
igcd(x1, x2,...)
ilcm(x1, x2,...)
x[1], x[2], ...
-
any integers
The function igcd computes the greatest common divisor of an arbitrary number of integers. The function ilcm computes the least common multiple of an arbitrary number of integers.
The igcd command is thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
igcd⁡
0
ilcm⁡
1
igcd⁡−10,6,−8
2
ilcm⁡−10,6,−8
120
igcd⁡a,a⁢b
gcd⁡a,a⁢b
a
a≔6:
b≔9:
ilcm⁡a,b
18
igcd⁡a,b
3
See Also
gcd
igcdex
lcm
Download Help Document