做测试 登录 English
← 练习 401 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
AIME 目录 · 按章节
基础计数 (90)
---- (44)
概率 (91)

练习及解答

练习 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$.
← 返回第 401 题
解答
  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}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份
1985 (1 题)
1984 (1 题)