A prime number and a positive integer are given. Prove that one can colour every one of the numbers using one of the colours so that for any the sum of any numbers of the same colour is not divisible by .
Problem 1546
Official solution
To prove that one can color every one of the numbers using one of the colors so that for any , the sum of any numbers of the same color is not divisible by , we can proceed as follows:
1. Understanding the Problem:
- We need to color the numbers using colors.
- For any , the sum of any numbers of the same color should not be divisible by .
2. Initial Considerations:
- Since is a prime number, the numbers form a complete residue system modulo .
- We need to ensure that the sum of any numbers of the same color is not congruent to .
3. Using the Pigeonhole Principle:
- We have numbers and colors.
- If we color the numbers randomly, we need to check the sums of any numbers for .
4. Constructing the Coloring:
- We will use a combinatorial argument to show that such a coloring exists.
- Consider the set of all possible sums of numbers for .
- There are possible sums for each .
5. Ensuring Non-Divisibility:
- We need to ensure that none of these sums are divisible by .
- Since is prime, the sums modulo will be uniformly distributed among the residues .
6. **Using Colors:**
- By using colors, we have enough flexibility to avoid sums that are divisible by .
- We can assign colors in such a way that the sums of any numbers of the same color are not congruent to .
7. Conclusion:
- By carefully assigning colors and using the properties of prime numbers and modular arithmetic, we can ensure that the required condition is met.