<?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>Haskell</anon>
  </categories>
  <description>http://www.agusa.i.is.nagoya-u.ac.jp/person/mzp/hiki/?exerciseに書いた問題の検証用。 完全数かどうかを判定するプログラムを書け。完全数(perfect number)とは、その数字自身を除く約数(divisor)の和が、その数字自身になる数字のこと。例: 6 = 1+2+3 28 = 1+2+4+7+14 496 = 1+2+4+8+16+31+62+124+248 divisor n = filter (\x-&gt; n `mod` x == 0) [1..n] perfect n = (n*2) == (sum $ divisor …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20070616%2Fperfect&quot; title=&quot;完全数 - みずぴー日記&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>2007-06-16 00:00:01</published>
  <title>完全数</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20070616/perfect</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
