Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Least common multiple (lcm)

Least common multiple of whole numbers.

How to write it

lcm(a, b, ...)

a
A whole number. Takes a whole number.
b
A whole number. Takes a whole number.

Examples

  • lcm⁡(4,6)=12\displaystyle \operatorname{lcm}(4, 6) = 12
    lcm(4, 6)

    In the solver, lcm(4, 6) gives 12.

    Open in the solver
  • lcm⁡(4,6,10)=60\displaystyle \operatorname{lcm}(4, 6, 10) = 60
    lcm(4, 6, 10)

    In the solver, lcm(4, 6, 10) gives 60.

    Open in the solver
  • log

    Logarithm: natural with ln, or to any base with log.

  • im

    Imaginary part of a complex number.

  • log10

    Logarithm to base 10.

  • gcd

    Greatest common divisor of whole numbers.

  • log2

    Logarithm to base 2.

  • frac

    Fractional part of a number.