{"author_name":"trex5","blog_title":"nobody wanna know","provider_name":"Hatena Blog","published":"2010-02-10 00:00:02","url":"https://trex5.hatenadiary.org/entry/20100210/p3","blog_url":"https://trex5.hatenadiary.org/","type":"rich","author_url":"https://blog.hatena.ne.jp/trex5/","width":"100%","image_url":null,"categories":["Python","Project Euler"],"version":"1.0","title":"Problem 3","provider_url":"https://hatena.blog","description":"\u8abf\u5b50\u306b\u4e57\u3063\u30663\u554f\u76ee\uff0e\u3053\u306e\u30c6\u30f3\u30b7\u30e7\u30f3\u306f\u7d76\u5bfe\u7d9a\u304b\u306a\u3044\uff0e \u7d20\u56e0\u6570\u5206\u89e3\u306f\u9762\u5012\u3067\u3059\u304c\uff0c\u307e\u3041\u5019\u88dc\u3068\u306a\u308a\u5f97\u308b\u7d20\u6570\u30ea\u30b9\u30c8\u3092\u3064\u304f\u3063\u3066\u4e0a\u304b\u3089\u9806\u306b\u5272\u3063\u3066\u3044\u304f\u3068\u3044\u3046\u6d41\u308c\u3067\u5b9f\u88c5\u3057\u3066\u307e\u3057\u305f\uff0e from math import sqrt def es(n): n /= 2 chk = [True for i in xrange(n)] for i in xrange(n): if chk[i]: p = i * 2 + 3 for j in xrange(i+p,n,p): chk[j] = False primes = [] for i in xrange(n-1,0,-1): if chk[i]: primes.app\u2026","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftrex5.hatenadiary.org%2Fentry%2F20100210%2Fp3\" title=\"Problem 3 - nobody wanna know\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}