2005 AMC 12A 第 18 题

先试着解答 2005 AMC 12A 第 18 题,然后核对你的答案与精心整理的解答,解答来自 LIVE by Po-Shen Loh。你也可以参加完整限时模拟考试、查看全部 2005 AMC 12A 解答,或核对答案。

所有题目均经美国数学协会(MAA)官方合法授权使用。

18.

称一个数为“看似质数”,如果它是合数但不能被 22,33 和 55 整除。最小的三个看似质数是 4949,7777 和 9191。小于 10001000 的质数有 168168 个。小于 10001000 的看似质数有多少个?
Call a number “prime-looking” if it is composite but not divisible by 2,2, 3,3, or 5.5. The three smallest prime-looking numbers are 49,49, 77,77, and 91.91. There are 168168 prime numbers less than 1000.1000. How many prime-looking numbers are there less than 1000?1000?
100100
102102
104104
106106
108108
答案:A
知识点:容斥原理质数区间内整数计数
小提示:
用容斥原理数出小于 10001000 且能被 2,32, 3 和 55 中至少一个整除的数。
Use inclusion-exclusion to count the numbers below 10001000 divisible by 2,3,2, 3, or 55
大提示:
从与 2,3,52, 3, 5 都互质的数中,去掉质数和数字 11。
From the numbers coprime to 2,3,5,2, 3, 5, remove the primes and the number 11
解答:
在 11 到 999999 这 999999 个数中,由容斥原理可得 499+333+199−166−99−66+33=733 \begin{aligned} &499 + 333 + 199 - 166 \\ &\quad {}- 99 - 66 + 33 = 733 \end{aligned} 个数能被 2,32, 3 或 55 中至少一个整除。
因此与 2,3,52, 3, 5 都互质的数共有 999−733=266999 - 733 = 266 个;其中有 165165 个质数(168168 个质数去掉 2,3,52, 3, 5),另有 11 既不是质数也不是合数。
剩下 266−165−1=100266 - 165 - 1 = 100 个就是看似质数。
所以正确答案是 A。
Among the 999999 numbers from 11 to 999,999, inclusion-exclusion gives 499+333+199−166−99−66+33=733 \begin{aligned} &499 + 333 + 199 - 166 \\ &\quad {}- 99 - 66 + 33 = 733 \end{aligned} that are divisible by 2,3,2, 3, or 5.5.
That leaves 999−733=266999 - 733 = 266 numbers coprime to 2,3,5.2, 3, 5. Of these, 165165 are primes (the 168168 primes minus 2,3,52, 3, 5), and 11 is neither prime nor composite.
The remaining 266−165−1=100266 - 165 - 1 = 100 numbers are prime-looking.
Thus, the correct answer is A.
LIVE by Po-Shen Loh
LIVE项目

LIVE直播课程

Self-Paced录播课程

启明星Star计划

奖学金项目

关于我们

罗博深是谁?

邮件联系

订阅英文简报

加入我们

申请明星导师

For a more Thought Full world.

© 2026 Expii, Inc.