Problem description, from Project Euler What is the smallest number that is evenly divisible by all of the numbers from 1 to N? Solution The math Basically, we are finding the least common multiple (LCM) of the numbers (grade school math?). This can be done by generating the prime factors of each of the numbers. […]
lcm
There is one post tagged lcm.