Browse · MathNet
PrintTeam selection tests for IMO 2018
Saudi Arabia 2018 counting and probability
Problem
Find all positive integers such that there exists some permutation of namely and satisfy for all .
Solution
Note that is an answer since we can choose a permutation with , .
Now we take , denote as the subsets of and all elements of are congruent to modulo . We have: - The number of elements of is . - Since and , two numbers and belong to same subset.
Denote as elements of then they form an arithmetic progression with formula for .
Put for then which implies that is a permutation of .
Set , for then and .
We have so and is even. By the similar definition for , we have are all even and Hence, are all equal and even. This can happen when and is an even number. It is easy to check that we can construct such a permutation satisfying these .
Therefore, is a divisor of .
Now we take , denote as the subsets of and all elements of are congruent to modulo . We have: - The number of elements of is . - Since and , two numbers and belong to same subset.
Denote as elements of then they form an arithmetic progression with formula for .
Put for then which implies that is a permutation of .
Set , for then and .
We have so and is even. By the similar definition for , we have are all even and Hence, are all equal and even. This can happen when and is an even number. It is easy to check that we can construct such a permutation satisfying these .
Therefore, is a divisor of .
Final answer
all positive divisors of 500
Techniques
Invariants / monovariantsColoring schemes, extremal argumentsCounting two ways