Skip to main content
OlympiadHQ

Browse · MathNet

Print

Belarus2022

Belarus 2022 algebra

Problem

Given pairwise distinct integers bigger than , such that among them the amount of odd numbers equals to the largest even number and the amount of even numbers equals to the largest odd number.

a) Find the minimal possible over all positive integers .

b) For each integer find the maximal possible .
Solution
a) The largest odd and even numbers are positive integers since there are numbers of both parities. This means that the largest even number is not less than two, the largest even number is not less than one, and the total number of numbers is not less than three. Note that could be, for example, if and the numbers , and are given.

b) Let be the largest odd number and be the largest even number. The number of even numbers does not exceed , since they are all at most and at least . And the number of odd numbers does not exceed , because they are not greater than and not less than . Hence Summing up these equalities we get , therefore . If then the inequalities in (1) must be the equalities and in this case However this is impossible, since the right-hand sides of these equalities give different remainders when divided by .

Since the number is odd and , then . Let us show that this estimate is attainable. For even one can take and , and for odd one can take , then the system (1) will be satisfied and, obviously, there will be corresponding -tuples of numbers satisfying the condition.
Final answer
a) 3; b) 2a - 1

Techniques

Floors and ceilingsLinear and quadratic inequalitiesOther