{"height":"190","author_url":"https://blog.hatena.ne.jp/inamori/","blog_url":"https://inamori.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100524%2Fp1\" title=\"Project Euler 37 - 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>","title":"Project Euler 37","author_name":"inamori","provider_name":"Hatena Blog","categories":["F#"],"version":"1.0","image_url":null,"width":"100%","blog_title":"inamori\u2019s diary","type":"rich","url":"https://inamori.hateblo.jp/entry/20100524/p1","provider_url":"https://hatena.blog","published":"2010-05-24 00:00:00","description":"http://projecteuler.net/index.php?section=problems&id=37 2\u30d1\u30bf\u30fc\u30f3\u306f\u6570\u5b57\u3092\u53f3\u304b\u3089\u8ffd\u52a0\u3059\u308b\u304b\u5de6\u304b\u3089\u8ffd\u52a0\u3059\u308b\u304b\u306a\u306e\u3067\u3001\u6570\u5b57\u3092\u8ffd\u52a0\u3059\u308b\u95a2\u6570\u3092\u305d\u308c\u305e\u308c\u4f5c\u3063\u3066\u304a\u304d\u307e\u3059\u3002 let add_right m d n = m * 10 + d let add_left m d n = m + d * nn\u306fm\u304c3\u6841\u306a\u30891000\u3067\u3059\u3002 \u305d\u3057\u3066\u3001truncatable prime\u304b\u3089\u6b21\u306e\u6841\u306e\u305d\u308c\u3092\u4f5c\u308b\u3068\u3044\u3046\u4f5c\u696d\u3092\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u3068\u304d\u306b\u3001 let next_list f a n = ... let s_add f = ... let s_right = s_\u2026"}