The DO Loop

Statistical programming in SAS with an emphasis on SAS/IML programs
Learn SAS
Rick Wicklin 0
The GCD and LCM functions in SAS

My daughter's middle school math class recently reviewed how to compute the greatest common factor (GCF) and the least common multiple (LCM) of a set of integers. (The GCF is sometimes called the greatest common divisor, or GCD.) Both algorithms require factoring integers into a product of primes. While helping

1 133 134 135 136 137 166