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

练习及解答

练习 477
An upno is a positive integer of $2$ or more digits whose digits strictly increase from left to right, and a downno is one whose digits strictly decrease from left to right. (For example, $258$ is an upno and $8620$ is a downno.) Let $U$ and $D$ be the numbers of upnos and downnos whose digits are all at most $6$. What is $|U-D|$?
← 返回第 477 题
解答
  1. An upno cannot contain $0$, so upnos correspond to subsets of $\{1,\dots,6\}$ with at least $2$ elements; downnos correspond to subsets of $\{0,\dots,6\}$ with at least $2$ elements.
  2. Downnos without $0$ correspond to upnos (reverse the digits), and downnos with $0$ are a nonempty subset of $\{1,\dots,6\}$ followed by $0$.
  3. So $|U-D|=2^6-1=\boxed{63}$.
搜索 跳转 上一题      下一题

联系我们

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