Maths Olympiad Prep

Library / Team Selection Test for IMO /51 of 55

Team Selection Test for IMO, 2024

Combinatorics Difficulty 9.0 Shortlist Prove it Turkey

For a positive integer r≥2r \ge 2 each positive integer is coloured into one of rr colours. Suppose that for each integer number nn and each pair (a,b)(a, b) of two colours aa and bb the difference between the number of divisors of nn coloured aa and the number of divisors of nn coloured bb is at most 11. Find all possible values of rr.

Solution

Answer: r=2,3r = 2, 3.

Suppose that r≥4r \geq 4. Since there are infinitely many primes, there are same coloured primes pp and qq. Since all divisors of n=pqn = pq are 1,p,q,pq1, p, q, pq, and hence no divisor of n=pqn = pq is coloured into some of r≥4r \geq 4 colours. Thus, the problem conditions are not satisfied.

Let r=3r = 3. Each positive integer nn with prime factorization n=p1a1⋅p2a2⋯pmamn = p_1^{a_1} \cdot p_2^{a_2} \cdots p_m^{a_m} we colour to (a1+a2+⋯+am)(mod3)(a_1 + a_2 + \cdots + a_m) \pmod{3}. The number n=1n = 1 with t=0t = 0 we colour to 00. By induction over the number of different primes in the prime factorization of nn we will show that this colouring satisfies the problem conditions. Let dn(0),dn(1),dn(2)d_n(0), d_n(1), d_n(2) be the number of divisors of n=p1a1⋅p2a2⋯pmamn = p_1^{a_1} \cdot p_2^{a_2} \cdots p_m^{a_m} coloured to 0,1,20, 1, 2, respectively.

If t=0t = 0 then the corresponding d(0)=1,d(1)=0,d(2)=0d(0) = 1, d(1) = 0, d(2) = 0 and conditions are held. Suppose that problem conditions are held for all integer numbers with t=mt = m and consider a=p1a1⋅p2a2⋯pmam⋅pm+1am+1a = p_1^{a_1} \cdot p_2^{a_2} \cdots p_m^{a_m} \cdot p_{m+1}^{a_{m+1}}, with da(0),da(1),da(2)d_a(0), d_a(1), d_a(2). Let db(0),db(1),db(2)d_b(0), d_b(1), d_b(2) be the number of divisors of b=p1a1⋅p2a2⋯pmamb = p_1^{a_1} \cdot p_2^{a_2} \cdots p_m^{a_m} of colours 0,1,20, 1, 2, respectively. By induction hypothesis
∣db(i)−db(j)∣≤1 for all pairs (i,j), where i,j=0,1,2.(†) |d_b(i) - d_b(j)| \leq 1 \text{ for all pairs } (i, j), \text{ where } i, j = 0, 1, 2. \quad (\dagger)

Any divisor of aa has a form d⋅pm+1ud \cdot p_{m+1}^u, where dd is a divisor of bb and 0≤u≤am+10 \le u \le a_{m+1}. Then
dpm+13l+0(0)=db(0),dpm+13l+0(1)=db(1),dpm+13l+0(2)=db(2) d_{p_{m+1}^{3l+0}}(0) = d_b(0), \quad d_{p_{m+1}^{3l+0}}(1) = d_b(1), \quad d_{p_{m+1}^{3l+0}}(2) = d_b(2)
dpm+13l+1(0)=db(2),dpm+13l+1(1)=db(0),dpm+13l+1(2)=db(1)(‡) d_{p_{m+1}^{3l+1}}(0) = d_b(2), \quad d_{p_{m+1}^{3l+1}}(1) = d_b(0), \quad d_{p_{m+1}^{3l+1}}(2) = d_b(1) \quad (\ddagger)
dpm+13l+2(0)=db(1),dpm+13l+2(1)=db(2),dpm+13l+2(2)=db(0) d_{p_{m+1}^{3l+2}}(0) = d_b(1), \quad d_{p_{m+1}^{3l+2}}(1) = d_b(2), \quad d_{p_{m+1}^{3l+2}}(2) = d_b(0)
Let d(0)+d(1)+d(2)=Dd(0) + d(1) + d(2) = D.

Case 1: am+1=3la_{m+1} = 3l. Then by (‡)(\ddagger)
da(0)=db(0)+lD,da(1)=db(1)+lD,da(2)=db(2)+lD d_a(0) = d_b(0) + lD, \quad d_a(1) = d_b(1) + lD, \quad d_a(2) = d_b(2) + lD
and hence by (†)(\dagger) the conditions are held.

Case 2: am+1=3l+1a_{m+1} = 3l+1. Then by (‡)(\ddagger)
da(0)=db(0)+lD+db(2),da(1)=db(1)+lD+db(0),da(2)=db(2)+lD+db(1) d_a(0) = d_b(0) + lD + d_b(2), \quad d_a(1) = d_b(1) + lD + d_b(0), \quad d_a(2) = d_b(2) + lD + d_b(1)
and hence by (†)(\dagger) the conditions are held.

Case 3: am+1=3l+2a_{m+1} = 3l+2. Then by (‡)(\ddagger)
da(0)=db(0)+lD+db(2)+db(1),da(1)=db(1)+lD+db(0)+db(2),da(2)=db(2)+lD+db(1)+db(0) d_a(0) = d_b(0) + lD + d_b(2) + d_b(1), \quad d_a(1) = d_b(1) + lD + d_b(0) + d_b(2), \quad d_a(2) = d_b(2) + lD + d_b(1) + d_b(0)
and hence the conditions are held.

Let r=2r = 2. Each positive integer nn with prime factorization n=p1α1⋅p2α2⋯pmαmn = p_1^{\alpha_1} \cdot p_2^{\alpha_2} \cdots p_m^{\alpha_m} we colour to the colour (α1+α2+⋯+αm)(mod2)(\alpha_1 + \alpha_2 + \cdots + \alpha_m) \pmod{2}. As in the case r=3r = 3, it can be readily shown that this colouring also satisfies the problem conditions.

Therefore, the only possible values of rr are 22 and 33.

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

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.