码迷,mamicode.com
首页 >  
搜索关键字:欧拉计划    ( 70个结果
欧拉计划(python) problem 5
Smallest multiple Problem 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 di...
分类:编程语言   时间:2015-01-26 22:49:54    阅读次数:289
欧拉计划(python) problem 7
10001st prime Problem 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? python code : import ma...
分类:编程语言   时间:2015-01-26 22:47:11    阅读次数:208
欧拉计划(python) problem 8
Largest product in a series Problem 8 The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. 73167176531330624919225119674426574742355349...
分类:编程语言   时间:2015-01-26 22:46:14    阅读次数:357
欧拉计划(python) problem 3
Problem 3 The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? python code: import math sqrt=math.sqrt def func(x):     ...
分类:编程语言   时间:2015-01-26 21:07:23    阅读次数:216
欧拉计划 NO05 ps:4题想过,好做,但麻烦,有时间补充,这题也不难!
问题重述: 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 num...
分类:其他好文   时间:2014-10-19 16:59:06    阅读次数:232
欧拉计划(1~3)ps:以后看题一定要认真
那天的题挺简单的下面来看下 No1 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. .....
分类:其他好文   时间:2014-10-12 22:14:38    阅读次数:424
欧拉计划013(ProjectEuler013):求出10个数乘积最大的
申明:之前的所有欧拉计划都是用python来...
分类:其他好文   时间:2014-05-25 20:46:27    阅读次数:233
欧拉计划003. 最大素因子
Problem 3: Largest prime factor The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? 求出最大素因子 我的python代码如下: 又不懂的,或者更好的可以留言,大家互相...
分类:其他好文   时间:2014-05-22 18:40:17    阅读次数:198
欧拉计划16-20题
16、Power digit sum215= 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 21000?题目大意:215= 32768 并且其...
分类:其他好文   时间:2014-05-02 13:17:49    阅读次数:1223
欧拉计划21-23题
21、Amicable numbersLet d(n) be defined as the sum of proper divisors ofn(numbers less thannwhich divide evenly inton). If d(a) =band d(b) =a, whereab,...
分类:其他好文   时间:2014-05-02 09:28:12    阅读次数:776
70条   上一页 1 ... 5 6 7
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!