做测试 登录 English
← 练习 917 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
数字 (38)
质数 (31)
分数、小数与取整函数 (18)
因数、最大公约数与最小公倍数 (36)
整除 (59)
进制 (15)
同余 (42)
整数方程 (27)

练习及解答

练习 917
What is the ten-thousands digit (the fifth digit from the right) of $25!-20!$?
← 返回第 917 题
解答
  1. $25!$ ends in $6$ zeros. $20!$ ends in exactly $4$ zeros, so $25!-20!\equiv-20!\pmod{10^5}$, and we need the last nonzero digit $d$ of $20!$.
  2. $20!/10^4$ is even. Mod $5$: $20!=5^4\cdot A\cdot4!$ with $A\equiv(4!)^4\equiv1$, so $20!/5^4\equiv24\equiv4$, and dividing by $2^4\equiv1$ gives $d\equiv4\pmod5$. So $d=4$ and $20!\equiv40000\pmod{10^5}$.
  3. $25!-20!\equiv-40000\equiv60000\pmod{10^5}$, so the digit is $\boxed{6}$.
搜索 跳转 上一题      下一题

联系我们

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