1989 AIME 第 11 题

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

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

11.

给定一个由 121121 个整数组成的样本,每个整数都在 1110001000 之间(含端点),允许重复。这个样本有唯一的众数(出现次数最多的数)。设 DD 为众数与样本算术平均数之差。D\lfloor D\rfloor 的最大可能值是多少?(对实数 xxx\lfloor x\rfloor 表示小于或等于 xx 的最大整数。)

A sample of 121121 integers is given, each between 11 and 10001000 inclusive, with repetitions allowed. The sample has a unique mode (most frequent value). Let DD be the difference between the mode and the arithmetic mean of the sample. What is the largest possible value of D?\lfloor D\rfloor? (For real x,x, x\lfloor x\rfloor is the greatest integer less than or equal to x.x.)

答案:947
知识点:平均数众数最优化
难度评级:3270
小提示:

利用对称性,将众数取在下端点,并在频数限制允许的范围内让其他数尽可能大

By symmetry, place the mode at the low endpoint and push every other entry as high as the frequency restriction allows

大提示:

若众数出现 ff 次,则其他每个数最多出现 f1f-1 次;对不同的 ff 分别优化

If the mode occurs ff times, every other value may occur at most f1f-1 times; optimize separately over ff

解答:

将每个数 xx 映射为 1001x1001-x,由对称性,只需使平均数减众数达到最大。固定众数频数 ff 后,极值样本含有 ff11,其余位置依次填入尽可能大的整数,每个最多出现 f1f-1 次。

121f=q(f1)+r121-f=q(f-1)+r,其中 0r<f10\leq r<f-1。非众数部分包含 10001000999999\ldots1001q1001-q 中每个数各 f1f-1 个,随后是 rr1000q1000-q。当 f=2f=2f=3f=3f=4f=4f=5f=5f=6f=6 时,此公式所得的下取整值依次为 924924945945947947944944939939。若 f7f\geq7,非众数项至多有 114114 个,所以即使使用较弱的界 D114(999)121<942D\leq\frac{114(999)}{121}<942 也足够。因此最大值在 f=4f=4 时取得。

该极值样本包含四个 11 以及从 96296210001000 的每个整数各三个。令 T=962+963++1000T=962+963+\cdots+1000。由于 T=38259T=38259D=3T+41211=114660121=947+73121\begin{aligned}D&=\frac{3T+4}{121}-1\\&=\frac{114660}{121}\\&=947+\frac{73}{121}\end{aligned}\text{。}因此下取整的最大可能值为 947947

By reflecting every value xx to 1001x,1001-x, it suffices to maximize the mean minus the mode. For a fixed modal frequency f,f, the extremal sample has ff copies of 1,1, then fills the largest available integers with at most f1f-1 copies each.

Put 121f=q(f1)+r,121-f=q(f-1)+r, where 0r<f1.0\leq r<f-1. The nonmodal entries are f1f-1 copies of each of 1000,1000, 999,999, ,\ldots, 1001q,1001-q, followed by rr copies of 1000q.1000-q. For f=2,f=2, f=3,f=3, f=4,f=4, f=5,f=5, and f=6,f=6, this formula gives floors 924,924, 945,945, 947,947, 944,944, and 939,939, respectively. If f7,f\geq7, there are at most 114114 nonmodal terms, so even the weaker bound D114(999)121<942D\leq\frac{114(999)}{121}<942 suffices. Thus the maximum occurs at f=4.f=4.

The extremal sample contains four 11’s and three copies of every integer from 962962 through 1000.1000. Put T=962+963++1000.T=962+963+\cdots+1000. Since T=38259,T=38259, D=3T+41211=114660121=947+73121.\begin{aligned}D&=\frac{3T+4}{121}-1\\&=\frac{114660}{121}\\&=947+\frac{73}{121}.\end{aligned} Therefore the largest possible floor is 947.947.

← 第 10 题#10
完整试卷

其他年份的第 11 题