Suppose are distinct primes and is a subset of . Let denote the number of solutions to the equation
where , . Prove that is a multiple of .
Problem 1529
Official solution
We need to prove that is a multiple of for any subset of , where and are distinct primes. We will use induction on .
1. Base Case:
- When , for some .
- The equation has no solutions because is a prime and (since and are distinct primes).
- Therefore, , which is trivially a multiple of .
2. Inductive Step:
- Assume the claim holds for any subset with . That is, is a multiple of .
- Consider a new subset formed by adding a new element to , so .
- We need to show that is also a multiple of .
3. Counting Solutions:
- Let be the number of solutions to where at least one .
- Then, .
4. **Analyzing :**
- Consider solutions where appears times in the sum .
- The number of ways to choose positions out of for is .
- The remaining positions must be filled with elements from such that their sum modulo is .
- For each , the number of such solutions is , where is the number of solutions for the remaining positions.
5. **Divisibility by :**
- For , is divisible by because is a prime.
- Therefore, the total number of solutions where at least one is divisible by .
6. Conclusion:
- Since is divisible by and is a multiple of by the induction hypothesis, is also a multiple of .
Thus, by induction, is a multiple of for any subset of .