{"author_name":"inamori","version":"1.0","image_url":null,"title":"Project Euler 135\uff081\uff09","published":"2012-04-20 00:00:00","url":"https://inamori.hateblo.jp/entry/20120420/p1","description":"Problem 135\u516c\u5dee\u3092d\u3068\u3059\u308b\u3068\u3001x = y + d, z = y - d\u3060\u304b\u3089\u3001 x2 - y2 - z2 = -y2 + 4dy = y(4d - y) = n n\u3092\u7d20\u56e0\u6570\u5206\u89e3\u3057\u3066\u7d04\u6570\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u305d\u306e\u7d04\u6570\u3092d1\u3068\u3057\u3066d2 = n / d1\u3068\u3059\u308b\u3068\u3001 y = d1 4d - y = d2 4d = d1 + d2 \u3060\u304b\u3089\u3001d1 + d2\u304c4\u3067\u5272\u308a\u5207\u308c\u3066d1\u304c4d\u3088\u308a\u5c0f\u3055\u3051\u308c\u3070\u3088\u3044\u308f\u3051\u3067\u3059\u3002\u3053\u306e\u3088\u3046\u306ad1\u306e\u500b\u6570\u3092\u6570\u3048\u308c\u3070\u3088\u3044\u3067\u3059\u3002\u3082\u3046\u5c11\u3057\u8e0f\u307f\u8fbc\u3093\u3067\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002y\u306e4\u306e\u5270\u4f59\u3067\u8003\u3048\u3066\u307f\u307e\u3059\u3002 y 4d-y n 0 0 0 1 3 3 2 2 0 3 1 3 n\u306f\u5fc5\u305a4\u3067\u5272\u3063\u3066\u4f59\u308a0\u304b\u2026","type":"rich","blog_url":"https://inamori.hateblo.jp/","provider_url":"https://hatena.blog","width":"100%","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","Python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20120420%2Fp1\" title=\"Project Euler 135\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>","height":"190","blog_title":"inamori\u2019s diary","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/inamori/"}