<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m_seki</author_name>
  <author_url>https://blog.hatena.ne.jp/m_seki/</author_url>
  <blog_title>@m_seki の</blog_title>
  <blog_url>https://druby.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ファーストチケットっていうのが出ちゃったドラゴンセレクション。初手の7枚にチケットを引いてくる確率を考えてみる。この手のネタは五年ぶり。→ http://d.hatena.ne.jp/m_seki/20070919#1190134698 訂正版 komaさんの記事を見て間違いに気付きました。56枚タネで検算してたらすぐわかったのになー。 全ての組合せと、成功（あるいは失敗）の組合せを調べると確率がわかる 手札に1枚はタネがないと成立しない 7枚のうちタネがn枚、チケットがm枚になる組合せを合計すると成功の組合せ数がわかる。 $fact = Hash.new {|h, k| k &lt;= 1 ? 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdruby.hatenablog.com%2Fentry%2F20120127%2F1327665560&quot; title=&quot;5年ぶりの組合せとファーストチケット - @m_seki の&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://images-fe.ssl-images-amazon.com/images/I/51CRwM4mqIL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-27 20:59:20</published>
  <title>5年ぶりの組合せとファーストチケット</title>
  <type>rich</type>
  <url>https://druby.hatenablog.com/entry/20120127/1327665560</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
