2008 AIME I 第 7 题

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

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

7.

SiS_i 为所有满足 100in<100(i+1)100i \le n \lt 100(i + 1) 的整数 nn 组成的集合。 例如,S4S_4 是集合 {400,401,402,,499}\{400, 401, 402, \ldots, 499\}。在 S0,S1,S2,,S999S_0, S_1, S_2, \ldots, S_{999} 这些集合中,有多少个集合不含完全平方数?

Let SiS_i be the set of all integers nn such that 100in<100(i+1).100i \le n \lt 100(i + 1). For example, S4S_4 is the set {400,401,402,,499}.\{400, 401, 402, \ldots, 499\}. How many of the sets S0,S1,S2,,S999S_0, S_1, S_2, \ldots, S_{999} do not contain a perfect square?

答案:708
知识点:完全平方数区间内整数计数
难度评级:2510
解答:

a49a \le 49 时,相邻平方数 a2a^2(a+1)2(a + 1)^2 相差 2a+1992a + 1 \le 99,所以从 121^2502=250050^2 = 2500 的平方数不会跳过任何一个百数段:每个集合 S0,S1,,S25S_0, S_1, \ldots, S_{25} 都含有完全平方数。对 a50a \ge 50,间距 2a+11012a + 1 \ge 101 超过 100100,所以集合 S26,,S999S_{26}, \ldots, S_{999} 中每个至多含一个平方数。

涉及的最大数为 9999999999,且 3162=9985699999<3172316^2 = 99856 \le 99999 \lt 317^2。因此落在 S26,,S999S_{26}, \ldots, S_{999} 中的平方数是 512,522,,316251^2, 52^2, \ldots, 316^2, 共 266266 个平方数,占据这 974974 个集合中的 266266 个不同集合。

因此有 974266=708974 - 266 = 708 个集合不含完全平方数。

Consecutive squares a2a^2 and (a+1)2(a + 1)^2 differ by 2a+1992a + 1 \le 99 for a49,a \le 49, so the squares from 121^2 to 502=250050^2 = 2500 never skip a hundred-block: every set S0,S1,,S25S_0, S_1, \ldots, S_{25} contains a perfect square. For a50a \ge 50 the gap 2a+11012a + 1 \ge 101 exceeds 100,100, so each of the sets S26,,S999S_{26}, \ldots, S_{999} contains at most one square.

The largest number involved is 99999,99999, and 3162=9985699999<3172.316^2 = 99856 \le 99999 \lt 317^2. So the squares landing in S26,,S999S_{26}, \ldots, S_{999} are 512,522,,316251^2, 52^2, \ldots, 316^2 — that is, 266266 squares occupying 266266 distinct sets out of those 974.974.

Therefore 974266=708974 - 266 = 708 sets contain no perfect square.

← 第 6 题#6
完整试卷

其他年份的第 7 题