{"type":"rich","height":"190","description":"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u306e\u6700\u7d42\u76ee\u6a19 NScripter\u3067\u3001is_prime\u547d\u4ee4\u3092\u5b9f\u88c5\u3059\u308b\u3002 is_prime\u547d\u4ee4\u3068\u306f \u300cis_prime %0,%1\u300d\u3068\u8a18\u8ff0\u3057\u305f\u6642\u3001%1\u304c\u7d20\u6570\u3067\u3042\u308c\u3070\u3001%0\u306b1\u3092\u4ee3\u5165\u3057\u3001\u305d\u3046\u3067\u306a\u3051\u308c\u30700\u3092\u4ee3\u5165\u3057\u3066\u8fd4\u3059\u547d\u4ee4\u3002 \u304a\u307e\u3051\u76ee\u6a19 \u30d5\u30e9\u30b0\u53cd\u8ee2\u3057\u305fis_not_prime\uff08no_prime?\uff09\u547d\u4ee4\u3082\u3064\u3044\u3067\u306b\u3002 \u7d20\u6570\u306e\u6027\u8cea\u3002\u304a\u3055\u3089\u3044 2\u4ee5\u4e0a\u306e\u81ea\u7136\u6570\u306b\u542b\u307e\u308c\u308b\u3002 1\u3068\u3001\u305d\u306e\u6570\u81ea\u8eab\u3067\u3057\u304b\u304d\u3063\u3061\u308a\u5272\u308a\u5207\u308c\u306a\u3044\u3002 \u7d20\u6570\u306e\u5224\u5b9a\u65b9\u6cd5 \u6709\u540d\u306a\u7269\u306b\u300c\u30a8\u30e9\u30c8\u30b9\u30c6\u30cd\u30b9\u306e\u7be9\u300d\u304c\u3042\u308b\u3002\u3053\u308c\u3092\u9006\u306b\u8003\u3048\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306b\u5c0e\u304d\u3060\u3055\u308c\u308b\u3002 \u3042\u308b\u81ea\u7136\u6570n\u304c\u7d20\u6570\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b\u306b\u306f\u30012\u301cn-1\u307e\u3067\u306e\u6570\u3067\u3001n\u3092\u5272\u3063\u3066\u307f\u3066\u3001\u4e00\u5ea6\u2026","url":"https://eiji8pou.hatenadiary.com/entry/20081102/1225599032","categories":["NScripter","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"width":"100%","image_url":null,"author_name":"eiji8pou","title":"\u7d20\u6570\u306e\u6c42\u3081\u65b9\u3002","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Feiji8pou.hatenadiary.com%2Fentry%2F20081102%2F1225599032\" title=\"\u7d20\u6570\u306e\u6c42\u3081\u65b9\u3002 - eiji8pou&#39;s 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":"eiji8pou's diary","author_url":"https://blog.hatena.ne.jp/eiji8pou/","provider_name":"Hatena Blog","blog_url":"https://eiji8pou.hatenadiary.com/","provider_url":"https://hatena.blog","version":"1.0","published":"2008-11-02 13:10:32"}