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

练习及解答

练习 475
Call a positive integer uphill if every digit is strictly greater than the previous digit. How many uphill integers are divisible by $33$?
← 返回第 475 题
解答
  1. A multiple of $33$ is a multiple of $11$. A number is divisible by $11$ exactly when its alternating digit sum, starting with $+$ at the units digit, is divisible by $11$.
  2. Let the digits of an uphill integer be $d_1<d_2<\dots<d_k$, from left to right, so the alternating sum is $S=d_k-d_{k-1}+d_{k-2}-\cdots$.
  3. If $k$ is even, group $S=(d_k-d_{k-1})+(d_{k-2}-d_{k-3})+\dots+(d_2-d_1)$. Each bracket is at least $1$, and together they are at most $d_k-d_1\le8$. So $1\le S\le8$.
  4. If $k$ is odd, group $S=(d_k-d_{k-1})+\dots+(d_3-d_2)+d_1$. Again every part is positive, and the total is at most $d_k\le9$. So $1\le S\le9$.
  5. In both cases $S$ is not divisible by $11$, so no uphill integer is divisible by $11$, let alone by $33$. For example, $1234$ has $S=4-3+2-1=2$.
  6. The answer is $\boxed{0}$.
搜索 跳转 上一题      下一题

联系我们

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