{"provider_name":"Hatena Blog","description":"Problem 21 \uff08\u7565\uff0910000\u3088\u308a\u5c0f\u3055\u3044\u3059\u3079\u3066\u306e\u53cb\u611b\u6570\u306e\u548c\u3092\u6c42\u3081\u3088\u3002 http://projecteuler.net/index.php?section=problems&id=21 10000\u3088\u308a\u5c0f\u3055\u3044\u81ea\u7136\u6570\u306b\u5bfe\u3057\u3001\u7d20\u56e0\u6570\u5206\u89e3\u3092\u3057\u7d04\u6570\u306e\u548c\u3092\u6c42\u3081\u308b\u51e6\u7406\u30922\u56de\u7e70\u308a\u8fd4\u305b\u3070\u53cb\u611b\u6570\u304b\u306e\u5224\u5b9a\u304c\u3067\u304d\u307e\u3059\u3002 from itertools import ifilterdef make_primes(max_p): # \u4e00\u756a\u4e0b\u306e\u30b3\u30fc\u30c9\u53c2\u7167 def get_exp(n, p): # \u540c\u3058\u304fdef factorize(n): f = [ ] for p in primes: if p * p > n: br\u2026","image_url":null,"author_name":"inamori","provider_url":"https://hatena.blog","height":"190","version":"1.0","width":"100%","url":"https://inamori.hateblo.jp/entry/20091118/p1","title":"Project Euler 21","blog_title":"inamori\u2019s diary","published":"2009-11-18 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20091118%2Fp1\" title=\"Project Euler 21 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["PE","\u6570\u5b66","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"blog_url":"https://inamori.hateblo.jp/","type":"rich","author_url":"https://blog.hatena.ne.jp/inamori/"}