返回题库

AIME 1996 · 第 12 题

AIME 1996 — Problem 12

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For each permutation a1,a2,a3,,a10a_1,a_2,a_3,\cdots,a_{10} of the integers 1,2,3,,101,2,3,\cdots,10, form the sum

a1a2+a3a4+a5a6+a7a8+a9a10.|a_1-a_2|+|a_3-a_4|+|a_5-a_6|+|a_7-a_8|+|a_9-a_{10}|. The average value of all such sums can be written in the form pq\dfrac{p}{q}, where pp and qq are relatively prime positive integers. Find p+qp+q.

解析

Solutions

Solution 1

Because of symmetry, we may find all the possible values for anan1|a_n - a_{n - 1}| and multiply by the number of times this value appears. Each occurs 58!5 \cdot 8!, because if you fix ana_n and an+1a_{n + 1} there are still 8!8! spots for the others and you can do this 55 times because there are 55 places ana_n and an+1a_{n + 1} can be.

To find all possible values for anan1|a_n - a_{n - 1}| we have to compute

110+19++12+210++23+21++109\begin{aligned} |1 - 10| + |1 - 9| + \ldots + |1 - 2|\\ + |2 - 10| + \ldots + |2 - 3| + |2 - 1|\\ + \ldots\\ + |10 - 9| \end{aligned} This is equivalent to

2k=19j=1kj=3302\sum\limits_{k = 1}^{9}\sum\limits_{j = 1}^{k}j = 330 The total number of permutations is 10!10!, so the average value is 3308!510!=553\frac {330 \cdot 8! \cdot 5}{10!} = \frac {55}{3}, and m+n=058m+n = \boxed{058}.

Note from SuperJJ: Another way to think about this is that the total sum is 330. Because you have a total of 10910 \cdot 9 possible "pairs" or "differences", the average difference is 33090=113\frac{330}{90} = \frac{11}{3}. Because the question asks for the expected value of the sum of 55 of these pairs / differences, our answer is just 1135=553\frac{11}{3} \cdot 5 = {\frac{55}{3}}.

Solution 2

Without loss of generality, let a1>a2;a3>a4;;a9>a10a_1 > a_2;\, a_3 > a_4;\, \ldots ;\, a_9 > a_{10}. We may do this because all sums obtained from these paired sequences are also obtained in another 2512^5-1 ways by permuting the adjacent terms {a1,a2},{a3,a4},,{a9,a10}\{a_1,a_2\},\{a_3,a_4\}, \cdots , \{a_9, a_{10}\}, and thus are canceled when the average is taken.

So now we only have to form the sum S=(a1+a3+a5+a7+a9)(a2+a4+a6+a8+a10)S= (a_1 + a_3 + a_5 + a_7 + a_9) - (a_2 + a_4 + a_6 + a_8 + a_{10}). Due to the symmetry of this situation, we only need to compute the expected value of the result. 1010 must always be the greatest number in its pair; 99 will be the greater number in its pair 89\frac{8}{9} of the time and the lesser number 19\frac 19 of the time; 88 will be the greater number in its pair 79\frac 79 of the time and the lesser 29\frac 29 of the time; and so forth. Each number either adds or subtracts from the sum depending upon whether it is one of the five greater or five lesser numbers in the pairs, respectively. Thus

S=10+(899)(199)+(798)(298)++(192)(892)1=910+79+58+37+1615345372919=553\begin{aligned} \overline{S} &= 10 + \left(\frac{8}{9} \cdot 9\right) - \left(\frac{1}{9} \cdot 9\right) + \left(\frac{7}{9} \cdot 8\right) - \left(\frac 29 \cdot 8\right) + \cdots + \left(\frac{1}{9} \cdot 2\right) - \left(\frac{8}{9} \cdot 2\right) - 1 \\ &= \frac{9 \cdot 10 + 7 \cdot 9 + 5 \cdot 8 + 3 \cdot 7 + 1 \cdot 6 - 1 \cdot 5 - 3 \cdot 4 - 5 \cdot 3 - 7 \cdot 2 - 9 \cdot 1}{9} \\ &= \frac{55}{3} \end{aligned} And the answer is m+n=058m+n = \boxed{058}.

Solution 3

Similar to Solution 1, we can find the average value of a2a1|a_2 - a_1|, and multiply this by 5 due to symmetry. And again due to symmetry, we can arbitrarily choose a2>a1a_2 > a_1. Thus there are (102)=45\binom{10}{2} = 45 ways to pick the two values of a2a_2 and a1a_1 from the set {1,2,3,4,5,6,7,8,9,10}\{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\} such that a2>a1a_2 > a_1. First fix a2=10a_2 = 10, and vary a1a_1 from 11 to 99. Then fix a2=9a_2 = 9, and vary a1a_1 from 11 to 88. Continue, and you find that the sum of these 4545 ways to pick a2a1|a_2 - a_1| is:

k=19j=1kj=45+36+28+21+15+10+6+3+1=165\sum\limits_{k = 1}^{9}\sum\limits_{j = 1}^{k}j = 45+36+28+21+15+10+6+3+1 = 165.

Thus, each term contributes on average 16545\frac{165}{45}, and the sum will be five times this, or 1659=553\frac{165}{9} = \frac{55}{3}.

The final answer is p+q=058p+q = \boxed{058}.

Solution 4(Expected Value)

We use expected value of one of the sums, say a2a1|a_2 - a_1|, since all five are similar, so the average or expected value of the sum is just 5 times the expected value of one of them.

To pick two random expected numbers from 1 to 10, we use a well known expected value trick by tying the two ends 1 and 10 with an extra number 0.* This gives 11 spaces, and we distribute 3 gaps evenly to choose our two numbers. We get 113\frac{11}{3} and 223\frac{22}{3} giving an absolute difference of 113\frac{11}{3}. Therefore, the average/expected value of the sum of the five would be 553\frac{55}{3}. This gives 55+3=05855+3=\boxed{058}.

  • This is like a bendable stick that has equally spaced marks "end-1-2-3-4-5-6-7-8-9-10-end", and the ends are bent together giving a circle with 11 equally spaced marks(the ends produce 1 mark together).