{"provider_url":"https://hatena.blog","url":"https://boxnos.hatenablog.com/entry/20080408/1207587038","title":" Problem 10 - \u529b\u696d","image_url":null,"height":"190","author_name":"tanakaBox","width":"100%","author_url":"https://blog.hatena.ne.jp/tanakaBox/","provider_name":"Hatena Blog","blog_url":"https://boxnos.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20080408%2F1207587038\" title=\" Problem 10 - \u529b\u696d - \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>","type":"rich","version":"1.0","description":"\u304a\u3001\u3084\u3063\u3068\u7d42\u308f\u3063\u305f\u300220\u5206\u304f\u3089\u3044\u653e\u7f6e\u3002 (define (primers n) (define (iter l) (if (null? l) '() (cons (car l) (iter (filter (lambda (o) (not (zero? (modulo o (car l))))) (cdr l)))))) (iter (cons 2 (list-tabulate (quotient (- n 1) 2) (lambda (x) (+ (* x 2) 3)))))) (apply + (primers 2000000)) ; 142913828922 30\u554f\u9054\u6210\uff01\uff01 \u89e3\u7b54\u3092\u898b\u3066\u52c9\u2026","categories":["Scheme"],"published":"2008-04-08 01:50:38","blog_title":"\u30dc\u30af\u30ce\u30b9"}