做测试 登录 English
← 练习 561 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
AIME 目录 · 按章节
数字 (23)
质数 (14)
因数、最大公约数与最小公倍数 (28)
整除 (22)
分数、小数与取整函数 (14)
进制 (19)
同余 (30)
整数方程 (29)

练习及解答

练习 561
For any positive integer $x$, let $S(x)$ be the sum of the digits of $x$, and let $T(x)$ be $|S(x+3)-S(x)|.$ For example, $T(198)=|S(201)-S(198)|=|3-18|=15.$ How many values of $T(x)$ do not exceed 2025?
← 返回第 561 题
解答
  1. If adding $3$ causes $k$ carries, then $S(x+3)=S(x)+3-9k$.
  2. So $T(x)=3$ for $k=0$ and $T(x)=9k-3$ for $k\ge1$, and every $k$ occurs (e.g.\ $x$ made of $k-1$ nines followed by an $8$).
  3. The values $9k-3\le2025$ have $k\le225$.
  4. With $T=3$, that is $226$ values.
  5. The answer is $\boxed{226}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份
1996 (1 题)
1991 (1 题)