欧拉计划
tabyou
上穷碧落下黄泉, 两处茫茫皆不见
展开
-
欧拉计划 Java实现
从今天将对欧拉计划的Java实现一天一更。简单的分析欧拉计划的每道题。希望与大家交流学习。原创 2014-02-28 20:38:13 · 1123 阅读 · 0 评论 -
欧拉计划 第9题
题目A Pythagorean triplet is a set of three natural numbers, a b c, for which,For example, There exists exactly one Pythagorean triplet for which a + b + c = 1000.Find the product abc.找出唯一原创 2014-03-06 10:53:38 · 1091 阅读 · 0 评论 -
欧拉计划 第6题
题目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 differ原创 2014-03-04 12:46:10 · 711 阅读 · 0 评论 -
欧拉计划 第7题
题目By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.What is the 10 001st prime number?找出第10001个质数。前六个质数是2,3,5,7,11和13,其中第6个是13.第10001个质数是多原创 2014-03-05 14:37:48 · 901 阅读 · 0 评论 -
欧拉计划 第8题
题目Find the greatest product of five consecutive digits in the1000-digit number.找出这个1000位数字中连续5个数字乘积的最大值。找出以下这个1000位的整数中连续5个数字的最大乘积。(例如前五个数字的乘积是7*3*1*6*7=882)731671765313306249192251196744265原创 2014-03-05 14:47:57 · 1393 阅读 · 0 评论 -
欧拉计划 第4题
题目A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 99.Find the largest palindrome made from the product of two原创 2014-03-02 16:15:46 · 900 阅读 · 0 评论 -
欧拉计划 第5题
题目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 fr原创 2014-03-03 12:32:57 · 1150 阅读 · 0 评论 -
欧拉计划 第3题
题目The prime factors of 13195 are 5, 7, 13 and 29.What is the largest prime factor of the number 600851475143 ?找出一个合数的最大质数因子13195的质数因子有5,7,13和29.600851475143的最大质数因子是多少?解答:这题要注意数据类型的范围(关于数据类原创 2014-03-01 14:37:09 · 1277 阅读 · 0 评论 -
欧拉计划 第2题
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...By considering原创 2014-03-01 14:13:35 · 1835 阅读 · 0 评论 -
欧拉计划 第1题
题目If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or 5 below 1000.找出1000以下原创 2014-02-28 20:57:38 · 810 阅读 · 0 评论 -
欧拉计划 第10题
题目The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.Find the sum of all the primes below two million.计算两百万以下所有质数的和。10以下的质数的和是2 + 3 + 5 + 7 = 17.找出两百万以下所有质数的和。解答:Java程序public cla原创 2014-03-08 21:17:32 · 1051 阅读 · 0 评论