Calculates the least common multiple of two positive integers.

lcm(a, b)

Arguments

a

Positive integer.

b

Positive integer.

Value

Positive integer.

See also

Examples

lcm(45, 18)
#> [1] 90