{"categories":["PE","\u6570\u5b66","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"url":"https://inamori.hateblo.jp/entry/20091224/p1","author_name":"inamori","height":"190","type":"rich","version":"1.0","blog_title":"inamori\u2019s diary","published":"2009-12-24 00:00:00","description":"Problem 39 p\u3092\u76f4\u89d2\u4e09\u89d2\u5f62\u306e\u5468\u56f2\u306e\u9577\u3055\u3068\u3059\u308b\u3068\u3001p = 120\u306e\u89e3\u306f3\u3064\u3042\u308b\u3002 \uff08\u4e2d\u7565\uff09p \u2264 1000\u306b\u5bfe\u3057\u3066\u3001\u89e3\u306e\u500b\u6570\u304c\u6700\u5927\u306e\u3082\u306e\u306f\uff1f http://projecteuler.net/index.php?section=problems&id=39 \u30d4\u30bf\u30b4\u30e9\u30b9\u6570\u306f\u3001 a = 2lmn b = l(m2 - n2) c = l(m2 + n2) m > n m\u3068n\u306f\u4e92\u3044\u306b\u7d20 m + n\u306f\u5947\u6570 \u3068\u66f8\u3051\u308b\u3053\u3068\u3092\u77e5\u3063\u3066\u3044\u308b\u306e\u304c\u524d\u63d0\u306e\u554f\u984c\u3067\u3059\u3002\u5468\u56f2\u306e\u9577\u3055p\u306f\u3001 p = 2lm(m + n) m\u3068m + n\u306f\u4e92\u3044\u306b\u7d20 m + n\u306f\u5947\u6570 m < m + n < 2m \u3068\u306a\u308a\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001p \u2026","title":"Project Euler 39","provider_url":"https://hatena.blog","blog_url":"https://inamori.hateblo.jp/","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/inamori/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20091224%2Fp1\" title=\"Project Euler 39 - 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>","width":"100%"}