-
MathType
-
Wiris Quizzes
-
Learning Lemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
Least common multiple (lcm)
Reading time: 1minNota
Working with polynomials? See Least common multiple (Polynomials).
Returns the least common multiple of a set of integers.
Syntax
lcm(Integer, ..., Integer)
lcm(List)
lcm(Vector)
lcm(Fraction, Fraction)
Description
Given a set of integers a1, ...,an , returns the least number that is a multiple of a1, ...,an simultaneously.
Given a list of integers {a1,...,an} , returns the least number that is a multiple of a1, ...,an simultaneously.
Given a vector of integers [a1,...,an] , returns the least number that is a multiple of a1, ...,an simultaneously.
Given two fractions ab and cd, returns its least common multiple defined as lcm a/b,c/d=lcm(a,c)/gcd(b,d)