Project

General

Profile

$gcd » History » Revision 2

Revision 1 (Per Amundsen, 01/13/2023 07:16 AM) → Revision 2/3 (Per Amundsen, 01/13/2023 07:18 AM)

_Added in 4.3_ 

 *$gcd(N,...)* 

 Returns the "greatest common divisor":https://en.wikipedia.org/wiki/Greatest_common_divisor for the specified list of numbers. 

 _See also [[$lcm]]._ 

 *Parameters* 

 N... - The numbers to search. 

 *Example* 

 <pre> 
 //echo -ag The greatest common divisor for 24 and 54 is $gcd(24, $$gcd(24, 54) 
 </pre>