{"blog_title":"s/.*//","author_url":"https://blog.hatena.ne.jp/chobie/","description":"\u554f\u984c5 1\u304b\u308920\u306e\u3069\u308c\u3067\u3082\u5272\u308a\u5207\u308c\u308b\u6570\u3092\u6c42\u3081\u308b\u3002 \u3088\u3046\u3059\u308b\u306b\u3001\u6700\u5c0f\u516c\u500d\u6570\u3066\u3053\u3068\u3067\u3057\u3087\u3002Gauche\u3067\u3002 (lcm 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20) \u3053\u308c\u3067\u306f\u8a71\u304c\u5c55\u958b\u3057\u306a\u3044\u306e\u3067\u3002 ^(1 to: 20) inject: 1 into: [ :tmp :each | | gcd next | gcd := tmp gcd: each. next := gcd >= 1 ifTrue: [ tmp * (each / gcd) ] ifFalse: [ tmp ]. next ]. \u3068\u3044\u3046\u3068\u3053\u308d\u307e\u3067\u8003\u3048\u3066\u3001wikipedia\u306e\u8a18\u2026","version":"1.0","image_url":null,"height":"190","author_name":"chobie","published":"2008-04-24 08:00:29","categories":["Smalltalk","Squeak"],"title":"Project Euler 005","blog_url":"https://chobie.hatenadiary.org/","provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchobie.hatenadiary.org%2Fentry%2F20080424%2F1208991629\" title=\"Project Euler 005 - s/.*//\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","url":"https://chobie.hatenadiary.org/entry/20080424/1208991629"}