2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?
Not the speediest solution. I did this one back in June of 2011. I haven’t done a solution in C yet. I will try to find a better algorithm. The whole point of me posting these is to learn and practice my programming skills.