{"version":"1.0","height":"190","blog_title":"inamori\u2019s diary","author_name":"inamori","categories":["\u6570\u5b66","Perl"],"provider_name":"Hatena Blog","width":"100%","published":"2008-01-22 00:00:00","description":"http://blog.mf-davinci.com/mori_log/archives/2008/01/post_1613.php71\u3001701\u30017001\u3001\u2026\u3001700000001\u3068\u3044\u3046\u81ea\u7136\u6570\u304c\u7d20\u6570\u304b\u3069\u3046\u304b\u8abf\u3079\u308b\u3068\u3001 8\u3064\u4e2d6\u3064\u304c\u7d20\u6570\u306a\u306e\u3060\u3068\u3044\u3046\u3002 \u591a\u500d\u9577\u6574\u6570\u306fPerl\u3067\u7c21\u5358\u306b\u6271\u3048\u308b\u306e\u3067\uff08\u9045\u3044\u304c\uff09\u3001\u8abf\u3079\u3066\u307f\u305f\u3002 use bigint;for my $i(1..20) { my $n = 7*10**$i + 1; print $n, \" \", (isprime($n) ? \"\u25cb\" : \"\u00d7\"), \"\\n\"; }sub isprime { my ($n) = @_; my $limit = sqr\u2026","author_url":"https://blog.hatena.ne.jp/inamori/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20080122%2Fp1\" title=\"\u5927\u304d\u306a\u6574\u6570\u3092\u63a2\u305b - 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>","provider_url":"https://hatena.blog","url":"https://inamori.hateblo.jp/entry/20080122/p1","image_url":null,"type":"rich","blog_url":"https://inamori.hateblo.jp/","title":"\u5927\u304d\u306a\u6574\u6570\u3092\u63a2\u305b"}