尔冬橙

博客园 首页 新随笔 联系 订阅 管理

2012年5月11日 #

摘要: From Wikipedia, the free encyclopediaJump to: navigation, searchA composite number is a positive integer which has a positive divisor other than one or itself. In other words a composite number is any positive integer greater than one that is not a prime number.So, if n > 0 is an integer and ther 阅读全文
posted @ 2012-05-11 23:19 尔冬橙 阅读(627) 评论(0) 推荐(0) 编辑

摘要: 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 the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-value 阅读全文
posted @ 2012-05-11 17:03 尔冬橙 阅读(458) 评论(0) 推荐(0) 编辑

摘要: 欧拉计划网站地址:http://projecteuler.net/第1题 Add all the natural numbers below one thousand that are multiples of 3 or 5.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.第一个 阅读全文
posted @ 2012-05-11 15:25 尔冬橙 阅读(289) 评论(0) 推荐(0) 编辑