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

练习及解答

练习 567
How many non-empty subsets $S$ of $\{1,2,\dots,15\}$ have the following two properties? (1) No two consecutive integers belong to $S$. (2) If $S$ contains $k$ elements, then $S$ contains no number greater than $2k$.
← 返回第 567 题
解答
  1. With $|S|=k$, the set consists of $k$ pairwise non-consecutive numbers from $\{1,2,\dots,m\}$, where $m=\min(2k,15)$. Subtracting $i-1$ from the $i$th smallest element turns such a set into an arbitrary $k$-element subset of $\{1,\dots,m-k+1\}$, and this is reversible, so there are $\binom{m-k+1}{k}$ such sets.
  2. If $k\le7$, then $m=2k$ and there are $\binom{k+1}{k}=k+1$ sets. (They are $1,3,\dots,2k-1$ with the last few elements shifted up by $1$.)
  3. If $k=8$, then $m=15$ and there is $\binom{8}{8}=1$ set, namely $\{1,3,5,\dots,15\}$. If $k\ge9$, then $\binom{16-k}{k}=0$.
  4. So the answer is $(2+3+\dots+8)+1=35+1=\boxed{36}$.
搜索 跳转 上一题      下一题

联系我们

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