问题:
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?
答案:
232792560
Matlab:
%%20: 2 3 5 7 11 13 17 19
2^4*3^2*7*11*13*17*19
直接分析出各个质因子的数量而得出。
阅读(537) | 评论(0) | 转发(0) |