# Least common multiple (lcm)

Working with polynomials? See lcm (Polynomials)

Returns the least common multiple of a set of integers.

## Syntax

## Description

#### lcm(Integer, ..., Integer)

Given a set of integers , ..., , returns the least number that is a multiple of , ..., simultaneously.

#### lcm(List)

Given a list of integers , returns the least number that is a multiple of , ..., simultaneously.

#### lcm(List)

Given a vector of integers , returns the least number that is a multiple of , ..., simultaneously.

#### lcm(Fraction, Fraction)

Given two fractions and , returns its least common multiple defined as