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

练习及解答

练习 628
What is the largest positive integer that is not the sum of a positive integral multiple of 30 and a positive composite integer?
← 返回第 628 题
解答
  1. $n$ fails exactly when every number $n-30j$ with $j\ge1$ and $n-30j\ge1$ is $1$ or prime.
  2. For $n=187$ these are $157,127,97,67,37,7$, all prime, so $187$ fails.
  3. For larger $n$, look at the residue of $n$ mod $30$: in each residue class, a chain of numbers $r,r+30,r+60,\dots$ that are all prime has at most six terms (one of them is divisible by $7$ by the time there are seven), and checking the classes shows that every $n>187$ has a composite $n-30j$.
  4. So the answer is $187$.
  5. The answer is $\boxed{187}$.
搜索 跳转 上一题      下一题

联系我们

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