0
Maths problem:
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?
2 Respuestas
+ 3
Stated another way, find the least common multiple (LCM) that all the numbers 1 to 20 have in common. Start with the LCM of the first two numbers. Then find the LCM of the next number and the previous LCM, and so on...
Here is a solution in Python:
https://code.sololearn.com/cVdeq1pc2lXf/?ref=app
+ 1
https://code.sololearn.com/W4jeKmSp4o7i/?ref=app