<?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>Python</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その293。昨日の続きで、『組み合わせで表現可能な数の和』を計算するコード。ハッシュを使ったりして高速化をはかるも挫折。 明日は方針を変えて、Xが過剰数のときN-Xが過剰数であるかをチェックする方法でやってみよう。 使い方 &gt;&gt;&gt; combination(xrange(1,100)) 19700 ソースコード #! /usr/bin/python # -*- mode:python; coding:utf-8 -*- # # problem23.py - # # Copyright(C) 2008 by mzp # Author: MIZUNO Hiroki / mzpppp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20080428%2Fcombination&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>2008-04-28 00:00:00</published>
  <title>組み合せで表現可能な数字の和</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20080428/combination</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
