{"description":"127\u554f. Repunit\u7cfb\u306f129\u3060\u3051\u6b8b\u3063\u3066\u3057\u307e\u3063\u305f. \u4f4d\u6570\u3092\u6c42\u3081\u308b\u306e\u306f\u9762\u5012\u81ed\u3044\u306a\u3041. PROB119\u306f\u3053\u3063\u3061\u306e\u65b9\u5411\u304c\u826f\u3044\u3093\u3060\u306a. num->digits\u306f\u5404\u6841\u306b\u3070\u3089\u3059\u95a2\u6570 (use srfi-42) (list-ref (sort (list-ec (: b 2 1000) (: e 1 50) (if (and (> (expt b e) 10) (= b (apply + (num->digits (expt b e)))))) (list (expt b e) b e)) (lambda (x y) (< (car x) (car y)))) 29) Problem 122\u306f\u52a0\u6cd5\u9396\u306e\u2026","published":"2008-03-23 14:49:24","provider_url":"https://hatena.blog","width":"100%","url":"https://186.hatenablog.com/entry/20080323/1206251364","author_url":"https://blog.hatena.ne.jp/smoking186/","type":"rich","categories":["CS","Project Euler"],"author_name":"smoking186","title":"","blog_url":"https://186.hatenablog.com/","blog_title":"186 @ hatenablog","provider_name":"Hatena Blog","image_url":null,"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2F186.hatenablog.com%2Fentry%2F20080323%2F1206251364\" title=\" - 186 @ hatenablog\" 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"}