<?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>Python</anon>
  </categories>
  <description>n=8とする。 まず、円を書く。その中心に0と書く。その上の円周上に1と書く。そこから右回りに等間隔に7までの数字を書く。そして、水平になった数字を線で結ぶ。0と1も結ぶ。そうすると次のようになる。 これが、最初の組合せである。線を右回りに回す。そうすると線で結んだペアが次の組合せである。こうして次々に7つの組合せが作られる。線で結んだ数字の間隔は上からそれぞれ2、3、1とそれぞれ違うので、組合せが重複することはない。 これをPythonで書くと、 n = 8 for i in range(n - 1): a = [ ] for k in range(0, n / 2): if k == 0:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090201%2Fp2&quot; title=&quot;組合せスケジューリング（4） - 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>https://cdn-ak.f.st-hatena.com/images/fotolife/i/inamori/20090201/20090201184314.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-02-01 00:00:01</published>
  <title>組合せスケジューリング（4）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20090201/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
