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

练习及解答

练习 471
How many sequences of zeros and ones of length $15$ have all the zeros consecutive? (The sequence with no zeros counts.)
← 返回第 471 题
解答
  1. No zeros: $1$ sequence, $111\dots1$.
  2. Otherwise the zeros form one block of length $k$, $1\le k\le15$, and the block can start at any of $16-k$ positions. For example, with $k=3$ the block can be in positions $1$–$3$, $2$–$4$, \dots, $13$–$15$: $13$ ways.
  3. So there are $15+14+\dots+1=\frac{15\cdot16}2=120$ such sequences.
  4. Another way to see it: a block of zeros is determined by its first and last positions, so with $k\ge1$ there are $\binom{15}2+15=120$ choices (two different ends, or a block of length $1$).
  5. Total: $1+120=\boxed{121}$.
搜索 跳转 上一题      下一题

联系我们

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