1983 AIME Problem 13

Attempt Problem 13 of the 1983 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 1983 AIME solutions, or check the answer key.

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

13.

For {1,2,3,,n}\{1,2,3,\ldots,n\} and each of its nonempty subsets a unique alternating sum is defined as follows: Arrange the numbers in the subset in decreasing order and then, beginning with the largest, alternately add and subtract successive numbers. (For example, the alternating sum for {1,2,4,6,9}\{1,2,4,6,9\} is 96+42+1=69-6+4-2+1=6 and for {5}\{5\} it is simply 5.5.) Find the sum of all such alternating sums for n=7.n=7.

Answer: 448
Concepts:subsetsdouble countingbinomial theorem
Difficulty rating: 2650
Small Hint:

Add the contribution of each number separately over all subsets

Big Hint:

The sign of kk depends only on whether the subset contains an even or odd number of elements greater than kk

Solution:

Fix k.k. Once kk is included, the k1k-1 smaller elements may be chosen arbitrarily, contributing a factor of 2k1.2^{k-1}. If exactly jj of the 7k7-k larger elements are chosen, the sign of kk is (1)j.(-1)^j. Therefore the coefficient of kk in the total is 2k1j=07k(1)j(7kj)=2k1(11)7k. \begin{aligned} &2^{k-1}\sum_{j=0}^{7-k} (-1)^j\binom{7-k}{j}\\ &\qquad=2^{k-1}(1-1)^{7-k}. \end{aligned} This is 00 for k<7k<7 and 262^6 for k=7.k=7. Hence the total is 726=448.7\cdot2^6=448.

← Problem 12#12
Full Exam

Problem 13 in Other Years