Skip to main content
OlympiadHQ

Browse · MathNet

Print

67th Romanian Mathematical Olympiad

Romania number theory

Problem

Prove that and , where
Solution
An integer belongs to if and only if there exists disjoint subsets , of the set , with , so that , where is the sum of the elements of and is the sum of the elements of (the sum of the elements of the empty set being ).

Then and, since , it follows that .

This shows that is divisible by , hence .

In order to prove that , it is enough to find with the sum of its elements .

An example is when is the union of pairs of elements of with sum , for instance , , ..., .

So, taking and , we get .

Techniques

Modular ArithmeticDivisibility / FactorizationSums and products