<?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>数学</anon>
    <anon>Python</anon>
  </categories>
  <description>1年365日に事故が7件起きるとして、事故が起きた日の最小間隔の分布を正確に知りたい。まず、考えやすいように、10日で3件起きる場合を考えよう。 第1の事故（時系列で「第1」と言っているわけではない）は最初の日に起きたと考えてよい。だから、全ての場合の数は10×10=100。 事故の最小間隔は4日以上はありえない。 3日の場合、3+3+4になる。要するに、10-3×3=1を3つで分配するから、1H3 = 3C2。第1の事故以外の順番があるので、×2で6通り。 2日以上の場合、4を3つで分配するから、4H3 = 6C2 = 15。×2で30通り。 1日以上の場合、7H3×2 = 9C2×2 = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20080629%2Fp1&quot; title=&quot;事故発生の間隔（2） - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-06-29 00:00:00</published>
  <title>事故発生の間隔（2）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20080629/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
