Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO2024 Shortlisted Problems

2024 number theory

Problem

Let be a positive integer. The integers are to be written in the cells of an board such that each integer is written in exactly one cell and each cell contains exactly one integer. For every integer with , the -division of the board is the division of the board into nonoverlapping sub-boards, each of size , such that each cell is contained in exactly one sub-board.

We say that is a cool number if the integers can be written on the board such that, for each integer with and , in the -division of the board, the sum of the integers written in each sub-board is not a multiple of .

Determine all even cool numbers.
Solution
We first show by induction that is a cool number. The base case of is trivial as there is no such .

For induction, assume that is a cool number. We construct a numbering of a board that satisfies the conditions.

Take the board and divide it into four sub-boards. By assumption, there is some numbering of a board that satisfies the required condition; we write down the numbering in each sub-board. Next, add to every number in the second sub-board, add to every number in the third sub-board, and add to every number in the fourth sub-board. Then the numbers in the cells of the board are the numbers to .

Now locate from the first sub-board, and swap it with from the second sub-board. Locate from the third sub-board, and swap it with from the fourth sub-board.

We claim that this numbering of the board satisfies the required conditions. For any where , consider any sub-board. The sum of its cells modulo is not changed in the addition step or the swapping step, so the sum is congruent modulo to the sum of the corresponding sub-board in , which is nonzero, as required.

In the case of , we can directly evaluate the sum of the sub-board for . The sum is given by Therefore all sub-boards satisfy the required conditions and so is a cool number, completing the induction.

It remains to show that no other even number is a cool number. Let where is a positive integer and is an odd integer greater than . For the sake of contradiction, suppose that there is a numbering of the board satisfying the required conditions.

Claim. In the -division of the board, where , the sum of numbers in each sub-board is congruent to modulo .

Proof. We prove the claim by induction on . The base case of holds as the sum of numbers in each sub-board must be odd. Next, suppose the claim is true for . In the -division, each sub-board is made up of four sub-boards, each with a sum congruent to modulo . Hence the sum of each sub-board is a multiple of . It cannot be a multiple of because of the conditions, which means it must be congruent to modulo . This proves the claim.

Back to the problem, since is odd, summing up the sums of sub-boards gives However, the sum of the numbers from to is This is a contradiction. Therefore is not a cool number.
Final answer
All even cool numbers are powers of two.

Techniques

Modular ArithmeticInvariants / monovariantsInduction / smoothing