Let be an integer greater than or equal to 1. In the set , what is the maximum number of pairs of numbers that can be chosen such that each pair consists of two distinct numbers, the sum of each pair is different from the sums of all other pairs, and the sum of each pair does not exceed ?
Solution
考慮集合 中的 對這樣的數字。這些 個數字的總和 至少是 , 因為這些選出來的數字兩兩互異。另一方面 , 因為每對數字的和均不相同, 並且都不超過 。於是給出下列的不等式
所以推得 。所以最多可以有 對滿足題設的數字。
以下建構 對滿足題設的數字。首先考慮 () 的情形, 此時 。這些對數字可以用下列的表格表示:
| 數對 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| 和 | |||||||||
| 和 |
以上的 對數字使用了 到 的所有數字; 各對數字的和包含 到 的所有數字。當 或 () 時可以用同樣的建構法。在這些情形下要達成的對數 仍然是 , 而上表中所有的和也都不超過 。
在 () 的情形下, 只需要 對數字; 此時可以將上表中的最後一行刪除 (於是移除了和是 的那一對數)。
最後, 當 () 時也需要 對數字。此時只要將上表中的最後一行刪除, 並且將第一列的各個數字減 即可。
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.