Least common multiple: Difference between revisions

Content added Content deleted
Line 2,206: Line 2,206:
END</lang>
END</lang>



=={{header|TXR}==

<lang bash>$ txr -p '(lcm (expt 2 123) (expt 6 49) 17)'
43259338018880832376582582128138484281161556655442781051813888</lang>


=={{header|uBasic/4tH}}==
=={{header|uBasic/4tH}}==
Line 2,234: Line 2,239:


0 OK, 0:330</pre>
0 OK, 0:330</pre>

=={{header|UNIX Shell}}==
=={{header|UNIX Shell}}==
<math>\operatorname{lcm}(m, n) = \left | \frac{m \times n}{\operatorname{gcd}(m, n)} \right |</math>
<math>\operatorname{lcm}(m, n) = \left | \frac{m \times n}{\operatorname{gcd}(m, n)} \right |</math>