<?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>数学</anon>
    <anon>C++</anon>
  </categories>
  <description>プロジェクトオイラー http://projecteuler.net/index.php Q131. n3 + pn2が立方数となりうる素数pの100万以下の個数 n3 + pn2 = (n + k)3 (p-3k)n2 - 3k2n - k3 = 0 D = 4pk - 3k2 判別式が平方数だから、 4pk - 3k2 = m2 3m2 + (3k-2p)2 = 4p2 ここで挫折した。Pythonで書いて話にならなかったので、C++で書いた。32ビットの範囲で計算できないので、doubleを使って適当にごまかした。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090516%2Fp1&quot; title=&quot;Project Euler 131 - 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>2009-05-16 00:00:00</published>
  <title>Project Euler 131</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20090516/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
