Browse · MathNet
PrintXXIX Rioplatense Mathematical Olympiad
Argentina number theory
Problem
Determine the number of permutations of the numbers such that is divisible by , for all .
Solution
The answer is .
There is an such that , being a divisor of .
If , we have . In this case, we must have , for all . Indeed, for a given , suppose that , with . So, as , we are left with and therefore . Now, let be such that . We have , but now , because if , we are left with from which (Absurd). So, . And so on. We will have a sequence such that and , for all . But in this case, and therefore , which is a contradiction. Therefore, the permutation is the only solution in this case.
If , consider the sequence such that and such that , for all . Note that the sequence is a chain of divisors of such that each term is a divisor of the next. From what was previously exposed, any number must satisfy .
Therefore, the number of permutations is equal to the number of such chains. Since , its set of divisors is , so the possible strings will be: In total, we will have permutations, one for each string. So, for example, for the string , it means that , , and , for .
There is an such that , being a divisor of .
If , we have . In this case, we must have , for all . Indeed, for a given , suppose that , with . So, as , we are left with and therefore . Now, let be such that . We have , but now , because if , we are left with from which (Absurd). So, . And so on. We will have a sequence such that and , for all . But in this case, and therefore , which is a contradiction. Therefore, the permutation is the only solution in this case.
If , consider the sequence such that and such that , for all . Note that the sequence is a chain of divisors of such that each term is a divisor of the next. From what was previously exposed, any number must satisfy .
Therefore, the number of permutations is equal to the number of such chains. Since , its set of divisors is , so the possible strings will be: In total, we will have permutations, one for each string. So, for example, for the string , it means that , , and , for .
Final answer
13
Techniques
Factorization techniquesRecursion, bijectionInvariants / monovariants