Maths Olympiad Prep

Track / Stage 7 / 199 of 300 #1599 of 1964

Problem 1599

National olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.4 Find the answer

Is it possible to colour all integers greater than 11{} in three colours (each integer in one colour, all three colours must be used) so that the colour of the product of any two differently coloured numbers is different from the colour of each of the factors?

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

1. Assume the contrary: Suppose it is possible to color all integers greater than 1 in three colors (red, green, blue) such that the product of any two differently colored numbers is colored differently from each of the factors.

2. Define sets:
- Let A={xN{1}x is red} A = \{ x \in \mathbb{N} \setminus \{1\} \mid x \text{ is red} \}
- Let B={yN{1}y is green} B = \{ y \in \mathbb{N} \setminus \{1\} \mid y \text{ is green} \}
- Let C={zN{1}z is blue} C = \{ z \in \mathbb{N} \setminus \{1\} \mid z \text{ is blue} \}

From the problem statement, we have:
ABC=N{1} A \cup B \cup C = \mathbb{N} \setminus \{1\}
AB=AC=BC= A \cap B = A \cap C = B \cap C = \emptyset
xA,yB    xyC x \in A, y \in B \implies xy \in C
xA,zC    xzB x \in A, z \in C \implies xz \in B
yB,zC    yzA y \in B, z \in C \implies yz \in A

3. Claim 1: Let pA p \in A be a prime number. Then pnA p^n \in A for all nN n \in \mathbb{N} .

Proof:
- Assume there exists kN{1} k \in \mathbb{N} \setminus \{1\} such that pkB p^k \in B .
- Since pA p \in A and pkB p^k \in B , it follows that pk+1C p^{k+1} \in C .
- Since pA p \in A and pk+1C p^{k+1} \in C , it follows that pk+2B p^{k+2} \in B .
- By induction, pmBC p^m \in B \cup C for all mk m \ge k .

On the other hand:
- Since pkB p^k \in B and pk+1C p^{k+1} \in C , it follows that p2k+1A p^{2k+1} \in A , which contradicts the previous statement that pmBC p^m \in B \cup C for all mk m \ge k .

Hence, the assumption is false, and pnA p^n \in A for all nN n \in \mathbb{N} .

4. Claim 2: Let pA p \in A be a prime number. Then qnA q^n \in A for all prime numbers q q and for all nN n \in \mathbb{N} .

Proof:
- Assume there exists a prime number q q such that qB q \in B .
- Since pA p \in A and qB q \in B , it follows that pqC pq \in C .
- Since pA p \in A and pqC pq \in C , it follows that p2qB p^2q \in B .
- By Claim 1, p2A p^2 \in A .
- Since p2A p^2 \in A and qB q \in B , it follows that p2qC p^2q \in C , which contradicts the previous statement that p2qB p^2q \in B .

Hence, the assumption is false, and qA q \in A for all prime numbers q q .

5. Conclusion from Claims 1 and 2:
- All prime numbers and their powers belong to the same set A A .

6. Contradiction:
- Assume pnA p^n \in A for all prime numbers p p and nN n \in \mathbb{N} , and let NB N \in B .
- Then N N can be expressed as N=p1α1p2α2pmαm N = p_1^{\alpha_1} p_2^{\alpha_2} \cdots p_m^{\alpha_m} where p1,p2,,pm p_1, p_2, \ldots, p_m are pairwise distinct prime numbers and α1,α2,,αmN \alpha_1, \alpha_2, \ldots, \alpha_m \in \mathbb{N} .
- Since p1A p_1 \in A and NB N \in B , it follows that p1α1+1p2α2pmαmC p_1^{\alpha_1+1} p_2^{\alpha_2} \cdots p_m^{\alpha_m} \in C .
- Since NB N \in B and p1α1+1p2α2pmαmC p_1^{\alpha_1+1} p_2^{\alpha_2} \cdots p_m^{\alpha_m} \in C , it follows that p12α1+1p22α2pm2αmA p_1^{2\alpha_1+1} p_2^{2\alpha_2} \cdots p_m^{2\alpha_m} \in A .

On the other hand:
- Since p1α1+1A p_1^{\alpha_1+1} \in A and NB N \in B , it follows that p12α1+1p2α2pmαmC p_1^{2\alpha_1+1} p_2^{\alpha_2} \cdots p_m^{\alpha_m} \in C .
- Since p2α2A p_2^{\alpha_2} \in A and p12α1+1p2α2pmαmC p_1^{2\alpha_1+1} p_2^{\alpha_2} \cdots p_m^{\alpha_m} \in C , it follows that p12α1+1p22α2p3α3pmαmB p_1^{2\alpha_1+1} p_2^{2\alpha_2} p_3^{\alpha_3} \cdots p_m^{\alpha_m} \in B .

Using the same reasoning for p3α3,,pmαmA p_3^{\alpha_3}, \ldots, p_m^{\alpha_m} \in A , we finally obtain p12α1+1p22α2pm2αmBC p_1^{2\alpha_1+1} p_2^{2\alpha_2} \cdots p_m^{2\alpha_m} \in B \cup C , which contradicts the previous statement that p12α1+1p22α2pm2αmA p_1^{2\alpha_1+1} p_2^{2\alpha_2} \cdots p_m^{2\alpha_m} \in A .

Conclusion:
It is not possible to color all integers greater than 1 in three colors such that the color of the product of any two differently colored numbers is different from the color of each of the factors. \blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.