lcm

  • full name: tenpy.tools.math.lcm

  • parent module: tenpy.tools.math

  • type: function

tenpy.tools.math.lcm(a, b)[source]

Returns the least common multiple (LCM) of two positive numbers.