摘要:
欧拉计划,第7题,找出第10001个素数 阅读全文
2012年5月13日 #
摘要:
The sum of the squares of the first ten natural numbers is,12 + 22 + ... + 102 = 385The square of the sum of the first ten natural numbers is,(1 + 2 + ... + 10)2 = 552 = 3025Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 385 = . 阅读全文
摘要:
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? static void Main(string[] args) { long startTime, endTime; Int64 f=... 阅读全文