1. Define the sets and polynomials:
Let M={1,2,…,n} be a set where each element is colored either red, blue, or yellow. Define the sets:
A={(x,y,z)∈M×M×M∣x+y+z≡0(modn), and x,y,z are of the same color}
B={(x,y,z)∈M×M×M∣x+y+z≡0(modn), and x,y,z are of pairwise distinct colors}
2. Introduce the polynomials:
Define the polynomials R(x),B(x),Y(x) where:
R(x)=r∈Red∑xr,B(x)=b∈Blue∑xb,Y(x)=y∈Yellow∑xy
Here, r,b,y are elements of M colored red, blue, and yellow respectively.
3. Use roots of unity:
Let ω be a primitive n-th root of unity. For k≡0(modn), we have:
R(ωk)+B(ωk)+Y(ωk)=ωk+ω2k+⋯+ωnk=0
This follows from the fact that the sum of all n-th roots of unity is zero.
4. Analyze the polynomials:
Each term in R(x)3 represents a triplet from the set of red points. Specifically, the term ckxk indicates there are ck red triplets with sum k. The same applies to B(x)3 and Y(x)3.
5. Consider the product polynomial:
The polynomial R(x)⋅B(x)⋅Y(x) gives the number of ordered triplets (x,y,z) with colors red, blue, and yellow respectively.
6. Apply Euler's identity:
Using Euler's identity, we have:
R(x)3+B(x)3+Y(x)3−3R(x)B(x)Y(x)=21(R(x)+B(x)+Y(x))((R(x)−B(x))2+(B(x)−Y(x))2+(Y(x)−R(x))2)
7. Combine the results:
For k≡0(modn), combining the results, we get:
R(ωk)3+B(ωk)3+Y(ωk)3=3R(ωk)B(ωk)Y(ωk)
When k=n, it becomes an inequality because R(1),B(1),Y(1)∈N.
8. Use the root of unity filter:
By the root of unity filter, we have:
n1k=0∑n−1(R(ωk)3+B(ωk)3+Y(ωk)3−3R(ωk)B(ωk)Y(ωk))=∣A∣−3∣B′∣≥0
Here, B′ is the set of ordered triplets with colors red, blue, and yellow.
9. **Relate B and B′:**
Each triplet in B′ can be permuted in 3!=6 ways to get a triplet in B. Thus, ∣B′∣=61∣B∣.
10. Conclude the inequality:
Substituting ∣B′∣=61∣B∣ into the inequality, we get:
∣A∣−3(61∣B∣)≥0⟹∣A∣≥21∣B∣
Therefore, we have:
2∣A∣≥∣B∣
The final answer is 2∣A∣≥∣B∣.