Browse · MathNet
PrintRioplatense Mathematical Olympiad
Argentina number theory
Problem
We say that a positive integer is rioplatense if it satisfies the following two conditions: It is possible to find 34 consecutive integers such that their product is divisible by but none of them is divisible by . It is not possible to find 30 consecutive integers such that their product is divisible by but none of them is divisible by . Find all rioplatense integers.
Solution
Notice so that the first condition can hold.
First we will show that must be a prime power. Assume the contrary, so has two or more distinct prime factors. In this case, we can write with relatively prime integers greater than 1. By the Chinese Remainder Theorem, there exists an integer such that and . Thus and are not divisible by , but their product is. Now, if we take 30 consecutive integers which include and but none of them is divisible by (this can be done because ), we see the second condition is not fulfilled.
So , with prime and a positive integer. In fact, , because a product of integers is divisible by if and only if one of the factors is divisible by . Hence if the first condition will not be fulfilled. Now let us find the possible values for .
If , in any set of 34 consecutive integers there is at most one of them which is divisible by . Therefore, the product of 34 consecutive integers can only be divisible by if one of those integers is divisible by , because all factors must come from the same number. In conclusion, we need in order for the first condition to be plausible.
On the other hand, if , we consider the 30 consecutive integers Since this list contains at least one more multiple of besides , the product of these numbers is divisible by . This contradicts the second desired condition unless one of these numbers is divisible by . This can only happen if , or equivalently, This rules out , as the left hand side of would be at least (recall that is at least 2). If , for to hold, it must be . But in this case, the left hand side of is at least . If , it must be and the left hand side of is at least . Finally, if , then and the left hand side of is at least . Having exhausted all cases, we conclude that the required conditions cannot hold if .
So we have , and there is exactly one prime number in this range, which is 31. We will now prove that all numbers of the form , where , are solutions. The second condition is satisfied, as we explained previously, because in any set of 30 consecutive integers there is at most one of them which is divisible by 31. For the first one, consider the 34 consecutive integers . As before, we know that their product is divisible by because there is another multiple of 31 besides in the set (namely ). To prove that none of these numbers is divisible by , it is enough to check that . This is equivalent to , which is true for .
In conclusion, rioplatense numbers are those of the form for .
First we will show that must be a prime power. Assume the contrary, so has two or more distinct prime factors. In this case, we can write with relatively prime integers greater than 1. By the Chinese Remainder Theorem, there exists an integer such that and . Thus and are not divisible by , but their product is. Now, if we take 30 consecutive integers which include and but none of them is divisible by (this can be done because ), we see the second condition is not fulfilled.
So , with prime and a positive integer. In fact, , because a product of integers is divisible by if and only if one of the factors is divisible by . Hence if the first condition will not be fulfilled. Now let us find the possible values for .
If , in any set of 34 consecutive integers there is at most one of them which is divisible by . Therefore, the product of 34 consecutive integers can only be divisible by if one of those integers is divisible by , because all factors must come from the same number. In conclusion, we need in order for the first condition to be plausible.
On the other hand, if , we consider the 30 consecutive integers Since this list contains at least one more multiple of besides , the product of these numbers is divisible by . This contradicts the second desired condition unless one of these numbers is divisible by . This can only happen if , or equivalently, This rules out , as the left hand side of would be at least (recall that is at least 2). If , for to hold, it must be . But in this case, the left hand side of is at least . If , it must be and the left hand side of is at least . Finally, if , then and the left hand side of is at least . Having exhausted all cases, we conclude that the required conditions cannot hold if .
So we have , and there is exactly one prime number in this range, which is 31. We will now prove that all numbers of the form , where , are solutions. The second condition is satisfied, as we explained previously, because in any set of 30 consecutive integers there is at most one of them which is divisible by 31. For the first one, consider the 34 consecutive integers . As before, we know that their product is divisible by because there is another multiple of 31 besides in the set (namely ). To prove that none of these numbers is divisible by , it is enough to check that . This is equivalent to , which is true for .
In conclusion, rioplatense numbers are those of the form for .
Final answer
All integers of the form 31^k with k ≥ 2
Techniques
Chinese remainder theoremPrime numbersGreatest common divisors (gcd)