Skip to main content
OlympiadHQ

Browse · MathNet

Print

SELECTION TESTS FOR THE 2019 JBMO

Romania 2019 number theory

Problem

Let be a nonnegative integer and . Consider and two nonempty, disjoint subsets of such that the sum of elements of the set divides the sum of elements of the set . Prove that the number of elements of the set divides the number of elements of the set .
Solution
Denote , and such that . Then .

The case is obviously true since and we can only have and .

Now let's prove that implies (so ). Indeed, supposing , we would get , therefore . This would imply which is false.

We are left with the case . Now we have and .

To summarize, we have the inequalities , therefore showing that divides .

Techniques

Divisibility / FactorizationSums and products