Maths Olympiad Prep

Library / /16 of 28

, 2024

Number theory Difficulty 5.2 AIME, harder Prove it United States

Problem:

Compute the number of even positive integers n2024n \leq 2024 such that 1,2,,n1,2, \ldots, n can be split into n2\frac{n}{2} pairs, and the sum of the numbers in each pair is a multiple of 33.

Solution

Solution:

There have to be an even number of multiples of 33 at most nn, so this means that n0,2(mod6)n \equiv 0,2 \pmod{6}. (We can also say that there should be an equal number of 1(mod3)1 \pmod{3} and 2(mod3)2 \pmod{3} numbers, which gives the same restriction.)

We claim that all these work. We know there are an even number of multiples of 33, so we can pair them; then we can pair 3k+13k+1 and 3k+23k+2 for all kk.

This means the answer is 20223+1=675\frac{2022}{3} + 1 = 675.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.