{"url":"https://rubyco.hatenadiary.org/entry/20061215/cube","blog_url":"https://rubyco.hatenadiary.org/","provider_url":"https://hatena.blog","height":"190","title":"\u30c7\u30a3\u30aa\u30d5\u30a1\u30f3\u30c8\u30b9","image_url":null,"author_url":"https://blog.hatena.ne.jp/rubyco/","author_name":"rubyco","provider_name":"Hatena Blog","width":"100%","type":"rich","blog_title":"rubyco\uff08\u308b\u3073\u3053\uff09\u306e\u65e5\u8a18","published":"2006-12-15 00:00:01","version":"1.0","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubyco.hatenadiary.org%2Fentry%2F20061215%2Fcube\" title=\"\u30c7\u30a3\u30aa\u30d5\u30a1\u30f3\u30c8\u30b9 - rubyco\uff08\u308b\u3073\u3053\uff09\u306e\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>","description":"\u30b3\u30de\u30cd\u30c1\u5927\u5b66\u6570\u5b66\u79d130\u8b1b\uff1a\u30c7\u30a3\u30aa\u30d5\u30a1\u30f3\u30c8\u30b9\u3092\u8aad\u3093\u3067\u3001\u5927\u5909\u624b\u629c\u304d\u306a\u8abf\u3079\u65b9\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u7acb\u65b9\u4f53\u3067\u76f4\u65b9\u4f53\u3092\u4f5c\u308a\u3001\u5916\u5074\u306e\u9762\u306b\u8272\u3092\u3064\u3051\u305f\u3068\u304d\u3001\u8272\u304c\u3064\u3044\u305f\u9762\u3068\u3064\u3044\u3066\u3044\u306a\u3044\u9762\u306e\u6570\u304c\u540c\u3058\u306b\u306a\u308b\u306e\u306f\u3001\u3069\u306e\u3088\u3046\u306a\u76f4\u65b9\u4f53\u304b\u7b54\u3048\u306a\u3055\u3044 # 2(xy + yz + zx) = 3xyz where x, y, z : positive integer (1..10).each do |x| (x..10).each do |y| (y..10).each do |z| if x != y or y != z or z != x then if 2 * (x * y + y * z + z * x) == 3 * x\u2026"}