$lcm » History » Version 2
Per Amundsen, 02/23/2023 04:23 PM
1 | 1 | Per Amundsen | _Added in 4.3_ |
---|---|---|---|
2 | |||
3 | *$lcm(N,...)* |
||
4 | |||
5 | Returns the "least common multiple":https://en.wikipedia.org/wiki/Least_common_multiple for the specified list of numbers. |
||
6 | |||
7 | _See also [[$gcd]]._ |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | 2 | Per Amundsen | table(ktable). |
12 | |*Parameter*|*Description*| |
||
13 | | N... | The number(s) to search. | |
||
14 | 1 | Per Amundsen | |
15 | *Example* |
||
16 | |||
17 | <pre> |
||
18 | //echo -ag The least common multiple for 24 and 54 is $lcm(24, 54) |
||
19 | </pre> |