<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gomi-box</author_name>
  <author_url>https://blog.hatena.ne.jp/gomi-box/</author_url>
  <blog_title>毛のはえたようなもの</blog_title>
  <blog_url>https://gomi-box.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>ProjectEuler</anon>
  </categories>
  <description>素数を小さい方から6つ並べると 2, 3, 5, 7, 11, 13 であり、6番目の素数は 13 である。 10001 番目の素数を求めよ。 Problem 7 - PukiWiki $p_list =[] limit =10001 def prime_number?(num) return false if num &lt; 2 k = true (3..num).each{|i| $p_list.each{|j| k = false and break if i%j == 0 &amp;&amp; num%i==0} break if !k } return k end target = 1 while $p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgomi-box.hatenablog.com%2Fentry%2F20080822%2FPE_P7&quot; title=&quot;Problem 7 - 毛のはえたようなもの&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-08-22 00:00:01</published>
  <title>Problem 7</title>
  <type>rich</type>
  <url>https://gomi-box.hatenablog.com/entry/20080822/PE_P7</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
