Talk:Least common multiple: Difference between revisions

→‎Java solution: new section
(→‎Java solution: new section)
Line 22:
 
::I have not been able to find a good online reference on LCM that treats negative arguments consistently (for example, consider the distributive and idempotent properties described at the mathworld reference). But 1/6 + 1/14 in reduced form is 5/21 where the least common multiple of 6 and 14 is 42. --[[User:Rdm|Rdm]] 15:35, 31 March 2011 (UTC)
 
== Java solution ==
 
I suspect the intention of the java code before my edits was<lang java>for (i = MultipleOfN/m; ...)</lang> instead of <lang java>for (i = MultipleOfM/m; ...)</lang>, where the former makes somewhat more sense. --[[User:Ledrug|Ledrug]] 16:25, 22 August 2011 (UTC)
Anonymous user