{"blog_url":"https://jeneshicc.hatenadiary.org/","categories":["Project Euler","Haskell"],"url":"https://jeneshicc.hatenadiary.org/entry/20081214/1229250367","description":"http://projecteuler.net/index.php?section=problems&id=149 \u6700\u5927\u90e8\u5206\u5217\u548c\u554f\u984c\u3092\u7e70\u308a\u8fd4\u3057\u89e3\u3044\u3066\u3044\u308b\u3060\u3051\u3002 import Data.List import Data.Array.IArray m = 2*10^3 sArray = sa :: Array Integer Integer where sa = listArray (1,m^2). map s' $ [1..m^2] s' k | inRange(1,55) k= (100003 - 200003*k + 300007*k^3) `mod` 1000000 - 500000 | \u2026","blog_title":"\u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66","provider_name":"Hatena Blog","image_url":null,"author_name":"jeneshicc","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20081214%2F1229250367\" title=\"Problem 149 - \u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","height":"190","published":"2008-12-14 19:26:07","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/jeneshicc/","title":"Problem 149","type":"rich"}