- 博客(10)
- 收藏
- 关注
原创 Project Euler 10
'''Created on 2014年9月10日Summation of primesThe sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.Find the sum of all the primes below two million.@author: wxp2971'''from numpy import *def isPr
2014-09-11 19:37:50
275
原创 Project Euler 9
'''Created on 2014年9月1日Special Pythagorean tripletA Pythagorean triplet is a set of three natural numbers, a < b < c, for which,a2 + b2 = c2For example, 32 + 42 = 9 + 16 = 25 = 52.There exists e
2014-09-04 21:31:06
355
原创 Project Euler 8
'''Created on 2014年8月30日Largest product in a seriesThe four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.731671765313306249192251196744265747423
2014-09-01 22:01:34
523
原创 Project Euler 7
'''Created on 2014年8月30日10001st primeBy 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?@author: wxp2971'''fro
2014-08-30 22:20:11
382
原创 Project Euler 6
'''Created on 2014年8月29日Sum square differenceThe 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
2014-08-29 22:40:02
310
原创 Project Euler 5
'''Created on 2014年8月26日Smallest multiple2520 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 even
2014-08-26 22:51:15
234
原创 Project Euler 4
'''Created on 2014年8月24日Largest palindrome productA 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 larg
2014-08-24 23:53:21
267
原创 Project Euler 3
'''Created on 2014年8月23日Largest prime factorThe prime factors of 13195 are 5, 7, 13 and 29.What is the largest prime factor of the number 600851475143 ?@author: wxp2971'''from numpy import *#
2014-08-24 00:07:27
334
原创 Project Euler 2
'''Created on 2014年8月21日Even Fibonacci numbersEach 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
2014-08-22 20:30:31
263
原创 Project Euler 1
'''Created on 2014年8月20日problem1 : Multiples of 3 and 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
2014-08-20 23:18:38
279
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅