做测试 登录 English
← 练习 574 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
基础计数 (147)
球与盒子 (6)
概率 (142)

练习及解答

练习 574
Eight cards numbered $1,2,\dots,8$ are arranged in a row. The task is to pick them up in numerically increasing order, working repeatedly from left to right: on each pass, moving from left to right, a card is picked up whenever it is the smallest card not yet picked up. For how many of the $8!$ orderings will the cards be picked up in exactly two passes?
← 返回第 574 题
解答
  1. If the first pass picks up $1,\dots,k$, then the ordering needs at most two passes exactly when $k+1,\dots,8$ also appear in increasing order. So the orderings with at most two passes are the merges of $1,\dots,k$ and $k+1,\dots,8$ for some $0\le k\le8$, and there are $\binom8k$ merges for each $k$.
  2. The identity ordering is counted $9$ times, and every other merge exactly once, so there are $2^8-8=248$ orderings with at most two passes.
  3. Removing the identity (one pass), the answer is $\boxed{247}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份