<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
    <anon>PE</anon>
    <anon>数学</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>http://projecteuler.net/index.php?section=problems&amp;id=111 単純に、対象となる整数を生成して素数判定します。生成は、例えば4桁で1を3つ使うとすると、残りの1つの桁をまず決めて、そこに1以外の数字をあてはめます。素数判定は、単純に素数で割っていきます。 これで2秒でした。もうちょっとなんとかならないでしょうか。 素数性を調べる対象は、大半は最後の桁が繰り返しの数字ではない場合です。そのため10個がまとまっているので、エラトステネスのふるいが使えそうです。ただ、やってみると桁数が大きくなるにつれて遅くなりました。 単純にミラー・ラビン素数判…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100628%2Fp1&quot; title=&quot;Project Euler 111 - inamori’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>2010-06-28 00:00:00</published>
  <title>Project Euler 111</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20100628/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
