euler project
pltc325
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Q35-2
import math def gen_prime_list(max): l = [2] for r in range(3,max): sqrt_value = math.sqrt(r) is_prime = True for x in l: if x if原创 2012-05-31 22:33:44 · 408 阅读 · 0 评论 -
Q35
# coding=UTF-8 print "Q34:\n" ''' The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime. There are thirteen such primes below 100原创 2012-05-31 22:32:59 · 314 阅读 · 0 评论
分享