<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ALcm</id>
	<title>TI-BASIC:Lcm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ALcm"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Lcm&amp;action=history"/>
	<updated>2026-04-17T17:41:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Lcm&amp;diff=607&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Lcm&amp;diff=607&amp;oldid=prev"/>
		<updated>2016-02-24T18:09:38Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=LCM.GIF&lt;br /&gt;
|summary=Finds the least common multiple of two values.&lt;br /&gt;
|syntax=lcm(&amp;#039;&amp;#039;value1&amp;#039;&amp;#039;, &amp;#039;&amp;#039;value2&amp;#039;&amp;#039;)&lt;br /&gt;
|location=Press:&lt;br /&gt;
# MATH to access the [[TI-BASIC:Math|Math]] menu.&lt;br /&gt;
# RIGHT to access the NUM submenu.&lt;br /&gt;
# 8 to select lcm(, or use arrows.&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=2 bytes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Returns the least common multiple (LCM) of two nonnegative integers; lcm(&amp;#039;&amp;#039;a&amp;#039;&amp;#039;,&amp;#039;&amp;#039;b&amp;#039;&amp;#039;) is equivalent to &amp;#039;&amp;#039;a&amp;#039;&amp;#039;//b&amp;#039;&amp;#039;/gcd(&amp;#039;&amp;#039;a&amp;#039;&amp;#039;,&amp;#039;&amp;#039;b//). Also works on lists.&lt;br /&gt;
&lt;br /&gt;
 lcm(8,6)&lt;br /&gt;
      24&lt;br /&gt;
 lcm({9,12},6)&lt;br /&gt;
      {18 12}&lt;br /&gt;
 lcm({14,12},{6,8})&lt;br /&gt;
      {42 24}&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#dimmismatch|ERR:DIM MISMATCH]]&amp;#039;&amp;#039;&amp;#039; is thrown if the arguments are two lists that don&amp;#039;t have the same number of elements.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#domain|ERR:DOMAIN]]&amp;#039;&amp;#039;&amp;#039; is thrown if the arguments aren&amp;#039;t positive integers (or lists of positive integers) less than 1e12.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Gcd|Gcd(]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>