{"published":"2009-12-13 00:00:00","provider_name":"Hatena Blog","author_name":"inamori","author_url":"https://blog.hatena.ne.jp/inamori/","image_url":null,"type":"rich","title":"Project Euler 268","url":"https://inamori.hateblo.jp/entry/20091213/p1","provider_url":"https://hatena.blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20091213%2Fp1\" title=\"Project Euler 268 - 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>","blog_url":"https://inamori.hateblo.jp/","categories":["\u6570\u5b66","Python"],"description":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30a4\u30e9\u30fc http://projecteuler.net/index.php?section=problems&id=268Problem 1\u3068\u4f3c\u305f\u3088\u3046\u306a\u554f\u984c\u306e\u62e1\u5f35\u3002\u3067\u30824\u4ee5\u4e0a\u3060\u304b\u3089\u5305\u9664\u539f\u7406\u3092\u62e1\u5f35\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3093\u3060\u304c\u3001\u305d\u308c\u306b\u624b\u9593\u53d6\u3063\u305f\u3002\u3053\u308c\u3063\u3066\u5e38\u8b58\u306a\u306e\uff1f \u7bc4\u56f2\u304c\u5c0f\u3055\u3044\u3068\u304d\u306b\u6709\u52b9\u306a\u30b3\u30fc\u30c9\u3002 def make_primes(max_p): def is_prime(n): return reduce(lambda x, y: x and y, map(lambda m: n % m, range(2, n)), True) return filter(is_prime, range(\u2026","height":"190","blog_title":"inamori\u2019s diary","width":"100%"}