<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Erlang</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その319。Problem45 - Project Euler。 三角数, 五角数, 六角数は以下のように生成される. 三角数Tn=n(n+1)/2 1, 3, 6, 10, 15, ... 五角数Pn=n(3n-1)/2 1, 5, 12, 22, 35, ... 六角数Hn=n(2n-1) 1, 6, 15, 28, 45, ... T285 = P165 = H143 = 40755であることが分かる. 次の三角数かつ五角数かつ六角数な数を求めよ. id:banjunのコードから学んだことだけれども、解の公式的なものを使うことである数Nが三角数かどうかの判断ができる。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20080610%2Ferlang&quot; title=&quot;Problem45 - みずぴー日記&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-06-10 00:00:02</published>
  <title>Problem45</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20080610/erlang</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
