{"published":"2010-05-28 00:00:00","categories":["F#"],"width":"100%","title":"Project Euler 40","description":"http://projecteuler.net/index.php?section=problems&id=40 \u9045\u5ef6\u8a55\u4fa1\u3092\u4f7f\u3046\u3068\u7c21\u5358\u3067\u3059\u3002 (fun k -> k <= N)\u3053\u306e\u30e9\u30e0\u30c0\u306f\u3001\u3053\u3046\u66f8\u3051\u307e\u3059\u3002 ((>=) N)\u3053\u308c\u306f\u3001(>=)\u306f2\u3064\u306e\u5f15\u6570\u3092\u53d6\u308b\u95a2\u6570\u3068\u307f\u306a\u305b\u3066\u3001 (>=) N k\u3067\u3001 N >= k\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u30ab\u30ea\u30fc\u5316\u3057\u3066\u4e0a\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u307e\u305f\u3001\u95a2\u6570\u306e\u5408\u6210\u3068\u3044\u3046\u306e\u304c\u3042\u3063\u3066\u3001\u4f8b\u3048\u3070\u30011\u3092\u8db3\u3057\u30662\u500d\u3059\u308b\u3001\u3068\u3044\u3046\u306e\u3092\u5206\u89e3\u3057\u3066\u3001 let f x = x + 1 let g x = x * x\u3053\u308c\u3092\u6b21\u306e\u3088\u3046\u306b\u5408\u6210\u3057\u307e\u3059\u3002 let h = f >> g printfn \"%d\" (\u2026","provider_name":"Hatena Blog","blog_url":"https://inamori.hateblo.jp/","version":"1.0","height":"190","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100528%2Fp1\" title=\"Project Euler 40 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"inamori\u2019s diary","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/inamori/","author_name":"inamori","image_url":null,"url":"https://inamori.hateblo.jp/entry/20100528/p1"}