Skip to main content
OlympiadHQ

Browse · MathNet

Print

FINAL ROUND

Belarus counting and probability

Problem

Find all positive integers () such that the set can be partitioned into disjoint subsets so that in each subset one of the numbers is equal to the sum of all other numbers of this subset. (V. Kaskevich)
Solution
A number from a subset of the desired partition is called major if is equal to the sum of all other numbers of this subset. All numbers in each subset must be distinct, since one of them is major we see that there exist at least three numbers in each subset. Let be the number of the subsets of the desired partition. Since we have numbers in the initial set , we have . On the other hand, if is the major number of some subset, then the sum of the numbers of this subset is equal to . So the sum of all numbers of the set must be even

(, and the sum of all numbers of all subsets is less than or equal to (The last inequality holds because and the function increases for .) Therefore, the following condition is necessary to exist the desired partition: i.e., , and since is an integer number, we have . The sum is even, so either or , i.e., . If , then . The number of the subsets is less than or equal to , i.e., . But for these the sum of all numbers in the subsets is less than or equal to , a contradiction. Similarly, if , then , , and , a contradiction.

605958575655545352
434139373533312927
171819202122232425
515049484746454426
42403836343230288,6
9101112131415167,5


605958575655545352
434139373533312927
171819202122232425
515049484746454428
424038363432302616
91011121314158,6,47,5


If we add the subset to the given partition for we obtain the desired partition for .

The desired partitions exist for . The following tables give the examples of the desired partition for and :
605958575655545352
434139373533312927
171819202122232425
515049484746454426
42403836343230288,6
9101112131415167,5




If we add the subset to the given partition for we obtain the desired partition for .
Final answer
1, 4, 5

Techniques

Coloring schemes, extremal argumentsCounting two waysInvariants / monovariantsLinear and quadratic inequalitiesIntegers