Jump to content

Talk:Least common multiple: Difference between revisions

Line 18:
 
::Hi Rdm, try [http://rosettacode.org/mw/index.php?title=Least_common_multiple&oldid=104117 this direct link]. --[[User:Paddy3118|Paddy3118]] 13:35, 31 March 2011 (UTC)
 
:Does lcm(x,y) = lcm(-x,y) = lcm(-x,-y)? If so then you could just change the sign on the arguments and use the fractional method. I'm pretty sure it works for positive numbers. The fractional method wouldn't work for fractional arguments, though (ex: lcm(1/3, 1/6) = 1/3 = 1 * 1/3 = 2 * 1/6). For those you would nee to use the "iteration over multiples" method I believe. --[[User:Mwn3d|Mwn3d]] 14:53, 31 March 2011 (UTC)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.