Smallest Multiple

2520 is the smallest number that can be divided by each of numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the number frome 1 to 20? 分析:求能够被1到20整除的最小正整数,即求最小公倍数。相邻两位依次求最小公倍数到最后即为所求。 Python实现 ...

January 18, 2017 · hhdx

10001st prime

By listing the first six prime number:2, 3, 5, 7, 11, and 13,we can see that the 6th prime is 13.What is the 10001st prime number? python ...

December 25, 2016 · hhdx