{"width":"100%","author_name":"veleno","provider_name":"Hatena Blog","height":"190","title":"","categories":["\u30d7\u30ed\u30b0\u30e9\u30e0","perl"],"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fveleno.hatenadiary.org%2Fentry%2F20150215%2F1423929554\" title=\" - \u3079\u308c\u91ce\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/veleno/","blog_url":"https://veleno.hatenadiary.org/","description":"\u30a8\u30e9\u30c8\u30b9\u30c6\u30cd\u30b9\u306e\u7be9 - Wikipedia\u3092\u307e\u3063\u3059\u3050\u5b9f\u88c5\u3057\u305f\u3002\u3064\u3082\u308a\u3002 #!/usr/bin/perl -w use strict; my ($n) = @ARGV; my @searchList = 2..$n; my @primes; while(@searchList and $searchList[@searchList-1] > $n**0.5){ my $prime = shift @searchList; push @primes, $prime; @searchList = grep{$_ % $prime!=0} @searchList; } push @primes, @s\u2026","url":"https://veleno.hatenadiary.org/entry/20150215/1423929554","published":"2015-02-15 00:59:14","type":"rich","blog_title":"\u3079\u308c\u91ce\u65e5\u8a18","provider_url":"https://hatena.blog"}