pub fn lcm(a: i64, b: i64) -> Result<i64, EcoString>
Calculates the least common multiple of two integers.