Difference between revisions of "1989 IMO Problems/Problem 1"
(→Problem) |
|||
Line 6: | Line 6: | ||
ii.) the sum of all the elements in each <math> A_i</math> is the same. | ii.) the sum of all the elements in each <math> A_i</math> is the same. | ||
+ | |||
+ | |||
+ | == Solution == | ||
+ | |||
+ | Let us start pairing numbers in the following fashion, where each pair sums to <math>1990</math>: | ||
+ | <math>(1, 1990-1), | ||
+ | (2, 1990-2), | ||
+ | \ldots | ||
+ | (936, 1054)</math> | ||
+ | |||
+ | There are a total of <math>117*8</math> pairs above. Let us start putting these pairs into each of the <math>117</math> subsets starting with the first pair <math>(1, 1990-1)</math> going into <math>A_1</math>, <math>(2, 1990-2)</math> into <math>A_2</math> and so on <math>\ldots</math> with <math>(k, 1990-k)</math> going into <math>A_{k(mod 117)}</math>. | ||
+ | |||
+ | Now we have <math>16</math> numbers present in each of the <math>117</math> subsets all of which have the same total sum. We need <math>1</math> more number to be filled in each subset from the remaining <math>117</math> numbers <math>(937, 938, ... 1053)</math>. | ||
+ | |||
+ | Let us arrange these <math>117</math> numbers in the following manner: | ||
+ | <math>995-58, 995-57, \ldots, 995-1, 995, 995+1, 995+2, \ldots, 995+57, 995+58</math> <math>==> (1)</math> | ||
+ | |||
+ | Now notice that for each number that's off by <math>x</math> from <math>995</math>, there's a counter number off by <math>x</math> from <math>995</math> in the opposite direction. | ||
+ | |||
+ | So we need to create similar imbalances in the Subsets <math>A_1</math> to <math>A_{117}</math>, so that we could add the above <math>117</math> numbers to those imbalances to keep the total sum unchanged. | ||
+ | |||
+ | Now start swapping the <math>1st</math> number of each pair that we added to subsets <math>A_1</math> to <math>A_{117}</math> to create the above imbalances: | ||
+ | |||
+ | Swap <math>1</math> from <math>A_1</math> with <math>59</math> from <math>A_{59}</math> - this creates an imbalance of <math>+58</math> and <math>-58</math> | ||
+ | |||
+ | Swap <math>2</math> from <math>A_2</math> with <math>58</math> from <math>A_{58}</math> - this creates an imbalance of <math>+56</math> and <math>-56</math> | ||
+ | |||
+ | <math>\ldots</math> | ||
+ | |||
+ | Swap <math>29</math> from <math>A_{29}</math> with <math>31</math> from <math>A_{31}</math> - creates an imbalance of <math>+2</math> and <math>-2</math> | ||
+ | |||
+ | Leave <math>30</math> in <math>A_{30}</math> as it is - <math>0</math> imbalance. | ||
+ | |||
+ | Similarly, | ||
+ | |||
+ | Swap <math>60</math> from <math>A_{60}</math> with <math>117</math> from <math>A_{117}</math> - this creates an imbalance of <math>+57</math> and <math>-57</math> | ||
+ | |||
+ | Swap <math>61</math> from <math>A_{61}</math> with <math>116</math> from <math>A_{116}</math> - this creates an imbalance of <math>+55</math> and <math>-55</math> | ||
+ | |||
+ | <math>\ldots</math> | ||
+ | |||
+ | Swap <math>88</math> from <math>A_{88}</math> with <math>89</math> from <math>A_{89}</math> - this creates an imbalance of <math>+1</math> and <math>-1</math> | ||
+ | |||
+ | Now start adding the <math>117</math> numbers from <math>(1)</math> to the subsets <math>A_1</math> to <math>A_{117}</math> to counter the imbalances <math>-58</math> to <math>+58</math> so that the sum remains unchanged. Notice that each subset now has <math>17</math> elements with total sum = <math>8*1990 + 995 = 16915</math>. | ||
+ | |||
+ | |||
+ | <math>- Kris17</math> | ||
+ | |||
+ | |||
+ | |||
+ | == See Also == | ||
+ | {{IMO box|year=1989|before=First question|num-a=2}} |
Latest revision as of 23:26, 16 March 2020
Problem
Prove that in the set can be expressed as the disjoint union of subsets such that
i.) each contains 17 elements
ii.) the sum of all the elements in each is the same.
Solution
Let us start pairing numbers in the following fashion, where each pair sums to :
There are a total of pairs above. Let us start putting these pairs into each of the subsets starting with the first pair going into , into and so on with going into .
Now we have numbers present in each of the subsets all of which have the same total sum. We need more number to be filled in each subset from the remaining numbers .
Let us arrange these numbers in the following manner:
Now notice that for each number that's off by from , there's a counter number off by from in the opposite direction.
So we need to create similar imbalances in the Subsets to , so that we could add the above numbers to those imbalances to keep the total sum unchanged.
Now start swapping the number of each pair that we added to subsets to to create the above imbalances:
Swap from with from - this creates an imbalance of and
Swap from with from - this creates an imbalance of and
Swap from with from - creates an imbalance of and
Leave in as it is - imbalance.
Similarly,
Swap from with from - this creates an imbalance of and
Swap from with from - this creates an imbalance of and
Swap from with from - this creates an imbalance of and
Now start adding the numbers from to the subsets to to counter the imbalances to so that the sum remains unchanged. Notice that each subset now has elements with total sum = .
See Also
1989 IMO (Problems) • Resources | ||
Preceded by First question |
1 • 2 • 3 • 4 • 5 • 6 | Followed by Problem 2 |
All IMO Problems and Solutions |