<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tarya</author_name>
  <author_url>https://blog.hatena.ne.jp/tarya/</author_url>
  <blog_title>taryaの雑記帳</blog_title>
  <blog_url>https://tarya.hatenadiary.org/</blog_url>
  <categories>
    <anon>数学</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>http://projecteuler.net/index.php?section=problems&amp;id=75原始ピタゴラス数を求めて、その外周和の倍数をカウントしていく方法で実装しました。 Rubyで3秒。 ピタゴラス数というのは、a^2 + b^2 = c^2 を満たす自然数 (a,b,c) のことで、原始ピタゴラス数というのは、その中でもa,b,cのどの2数も互いに素な関係を満たすもののことです。そして、原始ピタゴラス数というのは以下の一般形で表現されるということを知っていると、コードがすごく楽に書けます。 a = m^2 - n^2 b = 2mn c = m^2 + n^2 (ここ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftarya.hatenadiary.org%2Fentry%2F20100619%2F1276977787&quot; title=&quot;Project Euler 75, ピタゴラス数 - taryaの雑記帳&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>https://images-fe.ssl-images-amazon.com/images/I/51oHd6j7zdL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-06-19 05:03:07</published>
  <title>Project Euler 75, ピタゴラス数</title>
  <type>rich</type>
  <url>https://tarya.hatenadiary.org/entry/20100619/1276977787</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
