南瓜配对重量
Paired Pumpkins II
题目详情
Dracula 有 5 个南瓜。把任意两个南瓜配成一对时,它们的总重量会分别是 21、22、…、30(恰好覆盖这些整数)。问:这 5 个南瓜重量之和是多少?
Dracula has pumpkins. When he pairs any two pumpkins, they weigh pounds. What's the sum of the weights of all the pumpkins?
解析
设 5 个南瓜重量从轻到重为 。
若把所有两两配对的重量求和,则每个南瓜会在 4 个配对里出现一次,因此
从而
补充:原题给出的配对集合在严格意义下实际上无法由 5 个实数重量实现(不存在一组 5 个数使其 10 个两两和恰好为 21..30)。上述结果是按“配对和必须等于 21..30”这一条件直接推出的总和。
Original Explanation
Let and be the weight of each pumpkin from lightest to heaviest. If we sum all the pairwise weights, we know we will have 4 sets of and . Thus
or
Note: You can't create equations for all the pairs to find the weights of each pumpkin, because it's impossible! There is no set of numbers for which their pairwise sums complete the set . Big thanks to @.cutnpaste for pointing this out!