<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eiji8pou</author_name>
  <author_url>https://blog.hatena.ne.jp/eiji8pou/</author_url>
  <blog_title>eiji8pou's diary</blog_title>
  <blog_url>https://eiji8pou.hatenadiary.com/</blog_url>
  <categories>
    <anon>NScripter</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>このエントリーの最終目標 NScripterで、is_prime命令を実装する。 is_prime命令とは 「is_prime %0,%1」と記述した時、%1が素数であれば、%0に1を代入し、そうでなければ0を代入して返す命令。 おまけ目標 フラグ反転したis_not_prime（no_prime?）命令もついでに。 素数の性質。おさらい 2以上の自然数に含まれる。 1と、その数自身でしかきっちり割り切れない。 素数の判定方法 有名な物に「エラトステネスの篩」がある。これを逆に考えると、このように導きだされる。 ある自然数nが素数かどうか判定するには、2〜n-1までの数で、nを割ってみて、一度…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feiji8pou.hatenadiary.com%2Fentry%2F20081102%2F1225599032&quot; title=&quot;素数の求め方。 - eiji8pou&amp;#39;s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-11-02 13:10:32</published>
  <title>素数の求め方。</title>
  <type>rich</type>
  <url>https://eiji8pou.hatenadiary.com/entry/20081102/1225599032</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
