{"author_url":"https://blog.hatena.ne.jp/tanakaBox/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20080402%2F1207092655\" title=\" Problem 6 - \u30dc\u30af\u30ce\u30b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" Problem 6","width":"100%","published":"2008-04-02 08:30:55","description":"\u3053\u308c\u306f\u7c21\u5358Problem 6 - PukiWiki \u6700\u521d\u306e10\u500b\u306e\u81ea\u7136\u6570\u306b\u3064\u3044\u3066\u3001\u305d\u306e\u548c\u306e\u4e8c\u4e57\u3068\u3001\u4e8c\u4e57\u6570\u306e\u548c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002 1\u00b2 + 2\u00b2 + ... + 10\u00b2 = 385 (1 + 2 + ... + 10)\u00b2 = 3025\u3053\u308c\u3089\u306e\u6570\u306e\u5dee\u306f 3025 - 385 = 2640 \u3068\u306a\u308b\u3002\u540c\u69d8\u306b\u3057\u3066\u3001\u6700\u521d\u306e100\u500b\u306e\u81ea\u7136\u6570\u306b\u3064\u3044\u3066\u548c\u306e\u4e8c\u4e57\u3068\u4e8c\u4e57\u306e\u548c\u306e\u5dee\u3092\u6c42\u3081\u3088\u3002 \u3048\u3044\u3002 (define (problem6 n) (define (square x) (* x x)) (define (sum l) (fold + 0 l)) (define seed (iota n 1)) (- (squar\u2026","url":"https://boxnos.hatenablog.com/entry/20080402/1207092655","height":"190","version":"1.0","categories":["Scheme"],"blog_url":"https://boxnos.hatenablog.com/","author_name":"tanakaBox","type":"rich","image_url":null,"blog_title":"\u30dc\u30af\u30ce\u30b9"}