{"provider_name":"Hatena Blog","blog_url":"https://inamori.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/inamori/","version":"1.0","blog_title":"inamori\u2019s diary","image_url":null,"url":"https://inamori.hateblo.jp/entry/20090522/p1","height":"190","author_name":"inamori","published":"2009-05-22 00:00:00","description":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30a4\u30e9\u30fc http://projecteuler.net/index.php Q154. (x + y + z)200000\u306e\u4fc2\u6570\u3067\u3001\u305d\u308c\u304c1012\u306e\u500d\u6570\u3067\u3042\u308b\u500b\u6570 n = m + k + l\u3068\u3057\u3066\u3001n!/m!k!l!\u304c\u4fc2\u6570\u3068\u306a\u308b\u3002\u305d\u308c\u304c2\u30685\u309212\u500b\u4ee5\u4e0a\u542b\u3081\u3070\u3088\u3044\u3002 5\u306e\u500b\u6570\u306f\u3001[n/5] + [n/52] + ... - ([k/5] + [k/52] + ... + [l/5] + [l/52] + ... + [m/5] + [m/52] + ...)\u3068\u306a\u308b\u3002\u305d\u306e\u3042\u3068\u3042\u308c\u3053\u308c\u8003\u3048\u305f\u304c\u3001\u7d50\u5c40\u7d20\u76f4\u306b\u3084\u3063\u305f\u3002\u3057\u304b\u3057\u9045\u3044\u3002\u304c\u3001k,l,m\u306f\u6b63\u4e09\u89d2\u5f62\u3092\u6210\u3057\u3066\u3044\u3066\u3001\u305d\u306e\u5bfe\u79f0\u6027\u3088\u308a\u3001\u3060\u3044\u305f\u2026","provider_url":"https://hatena.blog","width":"100%","type":"rich","title":"Project Euler 154","categories":["\u6570\u5b66","Python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090522%2Fp1\" title=\"Project Euler 154 - 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>"}