Take a test Sign in 中文
← Exercise 401 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Basic Counting (90)
---- (44)
Probability (91)

Exercises and their solutions

Exercise 401
For $\{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 $\{2, 4, 5, 7, 8\}$ is $8-7+5-4+2=4$ and for $\{5\}$ it is simply $5$. Let $S$ be the sum of all such alternating sums for $n=10$. Find the remainder when $S$ is divided by $1000$.
← Back to Problem 401
Solution
  1. Pair each subset $T$ not containing $n$ with $T\cup\{n\}$.
  2. Their alternating sums add to $n$, because adding $n$ on top flips every sign of $T$.
  3. This gives $2^{n-1}$ pairs (the pair $\emptyset,\{n\}$ included), so $S=n\cdot2^{n-1}=10\cdot512=5120$, and $5120\bmod 1000=120$.
  4. The answer is $\boxed{120}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1985 (1 problems)
1984 (1 problems)