Browse · MathNet
PrintSelection tests for the International Mathematical Olympiad 2013
Saudi Arabia 2013 number theory
Problem
For a positive integer , we consider all its divisors (including and itself). Suppose that of these divisors have their unit digit equal to (For example , has six divisors, namely . Two of these divisors, namely and , have unit digits equal to . Hence for , ). Find, when is any positive integer, the maximum possible value of .
Solution
Let be a positive integer. Consider , the set of all divisors of with unit digit , and the set of all the other divisors of .
If the unit digit of is different from , consider the map defined by for all . If and for some , then which is a contradiction. Then the map is well defined. Clearly, the map is an injective map. Therefore the cardinality of is less than or equal to the cardinality of . Hence .
If the unit digit of is equal to , the integer is neither divisible by nor by . This means that all prime divisors of have unit digit equal to , or .
If all prime divisors of have unit digits equal to or , all divisors of have unit digits equal to or . Therefore .
If the integer has a prime divisor with unit digit or , consider the map defined for by if divides and by otherwise. We can see easily in both cases, that the unit digit of is equal to or . Hence is well defined.
Assume that there exist such that . It is clear that if both are divisible by or both are not divisible by , we have . Assume that is divisible by and is not divisible by . We have , which is equivalent to . Because , we deduce that , which contradicts the fact that since . Hence is injective and therefore the cardinality of is less than or equal to the cardinality of . Thus .
Notice that for , its divisors are and . This proves that the maximum possible value of is .
If the unit digit of is different from , consider the map defined by for all . If and for some , then which is a contradiction. Then the map is well defined. Clearly, the map is an injective map. Therefore the cardinality of is less than or equal to the cardinality of . Hence .
If the unit digit of is equal to , the integer is neither divisible by nor by . This means that all prime divisors of have unit digit equal to , or .
If all prime divisors of have unit digits equal to or , all divisors of have unit digits equal to or . Therefore .
If the integer has a prime divisor with unit digit or , consider the map defined for by if divides and by otherwise. We can see easily in both cases, that the unit digit of is equal to or . Hence is well defined.
Assume that there exist such that . It is clear that if both are divisible by or both are not divisible by , we have . Assume that is divisible by and is not divisible by . We have , which is equivalent to . Because , we deduce that , which contradicts the fact that since . Hence is injective and therefore the cardinality of is less than or equal to the cardinality of . Thus .
Notice that for , its divisors are and . This proves that the maximum possible value of is .
Final answer
50
Techniques
Prime numbersModular Arithmetic