{"published":"2009-07-03 00:00:00","blog_title":"inamori\u2019s diary","provider_url":"https://hatena.blog","author_name":"inamori","version":"1.0","author_url":"https://blog.hatena.ne.jp/inamori/","description":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30a4\u30e9\u30fc http://projecteuler.net/index.php Q207. 4t\u30682t\u3068k\u304c\u3059\u3079\u3066\u81ea\u7136\u6570\u3067t\u304c\u5b9f\u6570\u3068\u306a\u308b\u3088\u3046\u306a\u30014t = 2t + k\u306e\u5f62\u306e\u6574\u6570\u306e\u5206\u5272\u3092\u8003\u3048\u308b\u3002\u3055\u3089\u306b\u3001t\u3082\u6574\u6570\u306e\u3068\u304d\u3001\u3053\u306e\u5206\u5272\u3092\u5b8c\u5168\u3068\u547c\u3076\u3002k \u2264 m\u3068\u306a\u308b\u5206\u5272\u306b\u3064\u3044\u3066\u3001\u5b8c\u5168\u306a\u3082\u306e\u306e\u5272\u5408\u3092P(m)\u3068\u3059\u308b\u3002\u306f\u3058\u3081\u3066P(m) \u554f\u984c\u306e\u610f\u5473\u304c\u306a\u304b\u306a\u304b\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3002\u8981\u3059\u308b\u306b\u3001a2 - a = k\u3067\u3001a\u304c2\u4ee5\u4e0a\u306e\u6574\u6570\u306b\u306a\u308b\u306e\u304c\u5206\u5272\u3067\u3001a\u304c2\u306e\u3079\u304d\u306e\u3068\u304d\u5b8c\u5168\u3068\u547c\u3076\u3002a\u304c2\u306e\u3079\u304d\u306e\u4e00\u3064\u624b\u524d\u306e\u3068\u304d\u3001\u3059\u306a\u308f\u3061\u3001a = 2n+1 - 1\u306e\u3068\u304d\u3001P( (a - 1)(a - 2) ) = n / ( (2n+\u2026","provider_name":"Hatena Blog","blog_url":"https://inamori.hateblo.jp/","width":"100%","height":"190","url":"https://inamori.hateblo.jp/entry/20090703/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090703%2Fp1\" title=\"Project Euler 207 - 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>","type":"rich","image_url":null,"title":"Project Euler 207","categories":["\u6570\u5b66","Python"]}