Documentation for infix lcm assembled from the following pages:

Language documentation: Operators §

From Operators

(Operators) infix lcm §

multi sub infix:<lcm>($a$b --> Int:D)

Coerces both arguments to Int and returns the least common multiple; that is, the smallest integer that is evenly divisible by both arguments.