Skip to main content
OlympiadHQ

Browse · MathNet

Print

Team Selection Test for IMO 2024

Turkey 2024 counting and probability

Problem

For a positive integer each positive integer is coloured into one of colours. Suppose that for each integer number and each pair of two colours and the difference between the number of divisors of coloured and the number of divisors of coloured is at most . Find all possible values of .
Solution
Answer: .

Suppose that . Since there are infinitely many primes, there are same coloured primes and . Since all divisors of are , and hence no divisor of is coloured into some of colours. Thus, the problem conditions are not satisfied.

Let . Each positive integer with prime factorization we colour to . The number with we colour to . By induction over the number of different primes in the prime factorization of we will show that this colouring satisfies the problem conditions. Let be the number of divisors of coloured to , respectively.

If then the corresponding and conditions are held. Suppose that problem conditions are held for all integer numbers with and consider , with . Let be the number of divisors of of colours , respectively. By induction hypothesis

Any divisor of has a form , where is a divisor of and . Then Let .

Case 1: . Then by (\ddagger) and hence by (\dagger) the conditions are held.

Case 2: . Then by (\ddagger) and hence by (\dagger) the conditions are held.

Case 3: . Then by (\ddagger) and hence the conditions are held.

Let . Each positive integer with prime factorization we colour to the colour . As in the case , it can be readily shown that this colouring also satisfies the problem conditions.

Therefore, the only possible values of are and .
Final answer
2, 3

Techniques

Coloring schemes, extremal argumentsInduction / smoothingPrime numbersτ (number of divisors)