{"provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://inamori.hateblo.jp/","author_name":"inamori","width":"100%","provider_name":"Hatena Blog","categories":["PE","\u6570\u5b66","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"published":"2009-12-10 00:00:00","blog_title":"inamori\u2019s diary","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20091210%2Fp1\" title=\"Project Euler 32\uff082\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>","type":"rich","description":"\u898b\u65b9\u3092\u5909\u3048\u3066\u3001\u307e\u305a\u3001\u5de6\u8fba\u7b2c2\u9805\u3092\u56fa\u5b9a\u3057\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u7b2c1\u9805\u306e\u7bc4\u56f2\u304c\u7d5e\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u7b2c2\u9805\u304c2\u3060\u3063\u305f\u3089\u3001\u7b2c1\u9805\u306f1000\u301c4999\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u639b\u3051\u7b97\u3092\u3057\u3066\u3001\u6570\u5b57\u304c1\u56de\u305a\u3064\u4f7f\u308f\u308c\u3066\u3044\u308b\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002 \u30b3\u30fc\u30c9\u306b\u3088\u308b\u901f\u5ea6\u306e\u9055\u3044\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3057\u3087\u3046\u3002\u305d\u306e\u524d\u306b\u3001\u8a08\u7b97\u91cf\u3092\u6982\u7b97\u3057\u307e\u3059\u3002N\u3092\u57fa\u6570\u3068\u3057\u307e\u3059\u300210\u9032\u306a\u3089N=10\u3067\u3059\u300212\u9032\u306a\u3089\u3001N=12\u3067\u300111\u500b\u306e\u6570\u5b57\u3067\u540c\u69d8\u306e\u639b\u3051\u7b97\u3092\u8868\u73fe\u3057\u307e\u3059\u3002\u6700\u521d\u306e\u30b3\u30fc\u30c9\u306f (N-1)!*[N/4] \u2252 (N-1)N/eN/4 \u2252 NN/eN+1/4 \u500b\u306e\u7d44\u5408\u305b\u306b\u3064\u3044\u3066\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u30023\u756a\u76ee\u306e\u30b3\u30fc\u30c9\u306f\u5c11\u3057\u96e3\u3057\u3044\u3067\u3059\u304c\u3001 N[(N-1)/2] / 2 +\u2026","version":"1.0","title":"Project Euler 32\uff082\uff09","url":"https://inamori.hateblo.jp/entry/20091210/p1","height":"190","author_url":"https://blog.hatena.ne.jp/inamori/"}