{"image_url":null,"url":"https://mzp.hatenadiary.org/entry/20080414/amicable","blog_url":"https://mzp.hatenadiary.org/","author_name":"mzp","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","type":"rich","title":"Problem21 -\u53cb\u611b\u6570\u306e\u548c-","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20080414%2Famicable\" title=\"Problem21 -\u53cb\u611b\u6570\u306e\u548c- - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["Haskell","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"author_url":"https://blog.hatena.ne.jp/mzp/","provider_name":"Hatena Blog","width":"100%","published":"2008-04-14 00:00:00","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e287\u3002Problem21 via Project Euler\u3002 d(n)\u3092n\u306e\u771f\u306e\u7d04\u6570\u306e\u548c\u3068\u5b9a\u7fa9\u3059\u308b\u3002\uff08\u771f\u306e\u7d04\u6570\u3068\u306fn\u4ee5\u5916\u306e\u7d04\u6570\u306e\u3053\u3068\u3067\u3042\u308b\u3002\uff09 \u3082\u3057\u3001d(a) = b \u304b\u3064 d(b) = a \u3092\u6e80\u305f\u3059\u3068\u304d\u3001a\u3068b\u306f\u53cb\u611b\u6570\uff08\u89aa\u548c\u6570\uff09\u3067\u3042\u308b\u3068\u3044\u3046\u3002 \u4f8b\u3048\u3070\u3001220\u306e\u7d04\u6570\u306f1, 2, 4, 5, 10, 11, 20, 22, 44, 55, 110\u306a\u306e\u3067d(220) = 284\u3068\u3067\u3042\u308b\u3002 \u307e\u305f\u3001284\u306e\u7d04\u6570\u306f1, 2, 4, 71, 142\u306a\u306e\u3067d(284) = 220\u3067\u3042\u308b\u3002 \u305d\u308c\u3067\u306f10000\u672a\u6e80\u306e\u53cb\u611b\u6570\u306e\u5408\u8a08\u3092\u6c42\u3081\u3088\u3002 Project Euler\u306e\u3088\u3046\u306a\u30af\u30a4\u30ba\u7cfb\u306b\u3001\u2026","provider_url":"https://hatena.blog","height":"190"}