Maths Olympiad Prep

Library / /12 of 31

Algebra Difficulty 6.0 AIME, harder Prove it Belarus

Given n2n \ge 2 different integers greater than 10-10. It turned out 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 smallest possible value of nn.
b) Find the greatest possible value of nn.

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 n=3n = 3 is possible if given numbers are 1-1, 11 and 22.

b) Let 2a+12a+1 be the largest odd number and 2b2b be the largest even number. The number 2a+12a+1 of even numbers does not exceed b+5b+5 since they are all at most 2b2b and at least 8-8. At the same time the number 2b2b of odd numbers does not exceed a+6a+6 since they are all no more than 2a+12a+1 and no less than 9-9. Whence
{2a+1b+5,2ba+6.(1) \begin{cases} 2a+1 \le b+5, \\ 2b \le a+6. \end{cases} \qquad (1)
Summing up these equalities we get that a+b10a+b \le 10. Let us estimate the largest possible value of the number nn depending on the sum a+ba+b. If a+b=10a+b = 10 then the first inequality of system (1) is equivalent to the inequality 3a143a \le 14, so the left side is less than the right one by at least 22, the second inequality of system (1) is equivalent to 3b163b \le 16 and in it the left side is less than the right side by at least one. So the total number of numbers does not exceed (b+52)+(a+61)=18(b+5-2)+(a+6-1) = 18.

If a+b=9a+b=9, then the first inequality in system (1) is equivalent to the inequality 3a133a \le 13, so the left side is less than the right one by at least 11. So the total number of numbers does not exceed (b+51)+(a+6)=19(b+5-1)+(a+6) = 19. Note that n=19n=19 in this case is possible with a=4a=4 and b=5b=5 if given all odd numbers from 9-9 to 99 and all even numbers from 6-6 to 1010.

If a+b8a+b \le 8 then nn doesn't exceed (b+5)+(a+6)19(b+5)+(a+6) \le 19. Thus, in all cases n19n \le 19 and the equality is attainable.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.