{"provider_name":"Hatena Blog","blog_url":"https://inamori.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/inamori/","blog_title":"inamori\u2019s diary","version":"1.0","url":"https://inamori.hateblo.jp/entry/20091106/p1","image_url":null,"height":"190","author_name":"inamori","description":"Problem 2 \u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u5217\u306e\u65b0\u3057\u3044\u9805\u306f\u3001\u524d\u306e2\u3064\u306e\u9805\u3092\u8db3\u3057\u3066\u751f\u6210\u3055\u308c\u308b\u3002\u6700\u521d\u30921,2\u3068\u3059\u308b\u3068\u3001\u6700\u521d\u306e10\u9805\u306f\u3001 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 400\u4e07\u3092\u8d85\u3048\u306a\u3044\u5076\u6570\u306e\u9805\u306e\u7dcf\u548c\u3092\u6c42\u3081\u3088\u3002 http://projecteuler.net/index.php?section=problems&id=2 \u305d\u306e\u307e\u307e\u66f8\u304f\u3068\u3001 from itertools import ifilter, takewhiledef gen_Fibonacci(): a, b = 1, 2 while True: yield a a, b = b, a + bN = 4 * 10\u2026","published":"2009-11-06 00:00:00","provider_url":"https://hatena.blog","type":"rich","width":"100%","title":"Project Euler 2\uff081\uff09","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20091106%2Fp1\" title=\"Project Euler 2\uff081\uff09 - 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"]}