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

练习及解答

练习 550
Given that $x$ and $y$ are both integers between $1000$ and $9999$, inclusive; $y$ is the number formed by reversing the digits of $x$; and $z=|x-y|$. How many distinct values of $z$ are possible?
← 返回第 550 题
解答
  1. With $x=\overline{abcd}$ ($a,d\ne0$), $z=|999(a-d)+90(b-c)|=9\,|111(a-d)+10(b-c)|$.
  2. Let $u=a-d\in[-8,8]$ and $v=b-c\in[-9,9]$; all these pairs give different values of $111u+10v$, and $(u,v)$ and $(-u,-v)$ give the same $|z|$.
  3. That is $\frac{17\cdot19-1}2+1=162$ values (including $0$).
  4. The answer is $\boxed{162}$.
搜索 跳转 上一题      下一题

联系我们

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