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

练习及解答

练习 879
For how many positive integers $n\le30$ is $n!$ evenly divisible by $1+2+\cdots+n$?
← 返回第 879 题
解答
  1. $1+\cdots+n=\frac{n(n+1)}2$ divides $n!$ exactly when $n+1$ divides $2\,(n-1)!$. If $n+1$ is an odd prime, it does not.
  2. Otherwise it does: if $n+1$ is even, then $\frac{n+1}2\le n-1$ is a factor of $(n-1)!$ (for $n\ge3$; $n=1$ also works); if $n+1=uv$ is odd and composite with $3\le u\le v$, then $u$ and $v$ (or $u$ and $2u$ when $u=v$) are different factors of $(n-1)!$. So it fails exactly when $n+1$ is an odd prime.
  3. $n+1\in\{3,5,7,11,13,17,19,23,29,31\}$: $10$ failures.
  4. So $30-10=\boxed{20}$.
搜索 跳转 上一题      下一题

联系我们

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