1989 AIME Problem 11

Attempt Problem 11 of the 1989 AIME below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1989 AIME solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

11.

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.)

Answer: 947
Concepts:meanmodeoptimization
Difficulty rating: 3270
Small Hint:

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

Big Hint:

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

Solution:

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.

← Problem 10#10
Full Exam

Problem 11 in Other Years