{"provider_name":"Hatena Blog","published":"2011-09-23 14:51:10","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasashin.hatenadiary.jp%2Fentry%2F20110923%2F1316757070\" title=\" Problem 3 - koyoweblog log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","categories":["Ruby","Project Euler"],"version":"1.0","image_url":null,"width":"100%","title":" Problem 3","blog_title":"koyoweblog log","author_name":"sasashin","height":"190","url":"https://sasashin.hatenadiary.jp/entry/20110923/1316757070","description":"http://projecteuler.net/index.php?section=problems&id=3 13195 \u306e\u7d20\u56e0\u6570\u306f 5\u30017\u300113\u300129 \u3067\u3042\u308b\u3002 600851475143 \u306e\u7d20\u56e0\u6570\u306e\u3046\u3061\u6700\u5927\u306e\u3082\u306e\u3092\u6c42\u3081\u3088\u3002 \u7d20\u56e0\u6570\u5206\u89e3\u3060\u3051\u3069\u7d20\u6570\u5217\u306f\u4e0d\u8981\u3002\u5c0f\u3055\u3044\u6570\u304b\u3089\u7e70\u308a\u8fd4\u3057\u5272\u3063\u3066\u3044\u3051\u3070\u7d20\u6570\u4ee5\u5916\u306f\u56e0\u6570\u306b\u306a\u3089\u306a\u3044\u306e\u3067\u3002Float::INFINITY \u4f7f\u3063\u3066\u306a\u3044\u306e\u306b break \u4f7f\u3063\u3066\u308b\u306e\u3067\u3001\u306a\u3093\u304b\u8ca0\u3051\u305f\u6c17\u306f\u3057\u3066\u3044\u308b\u3002 class Integer def factorization(x) [].tap{|t| (0..Float::INFINITY).inject(self){|r,i| bre\u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/sasashin/","blog_url":"https://sasashin.hatenadiary.jp/"}