[LON-CAPA-users] least common multiple

Lars Jensen lon-capa-users@mail.lon-capa.org
Wed, 01 Jun 2005 14:07:23 -0700


Hi Sally,

Yacas' Lcm command will do this (and much more). Yacas is a Computer 
algebra system available from:

http://yacas.sourceforge.net/

The windows version is here:

http://www.xs4all.nl/~apinkus/backups/YacasWindowsBinary-1.0.54.zip

Enter for exampleL

In> Lcm(12,18);

and you get:

Out> 36;

Lars.
Sally Hunnicutt wrote:
> Hello,
> 
> Is there a PERL script function that determines the least common 
> multiple of two integers?
> 
> Thanks,
> Sally
> 
> Dr. Sally S. Hunnicutt
> Assistant Chair, Associate Professor
> VCU Department of Chemistry
> 1001 W. Main St.
> PO Box 842006
> Richmond VA 23284-2006
> 804-827-0531
> sshunnic@vcu.edu
> 
> 
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users