Determine all functions mapping the integers to the integers with the following property: For any two (not necessarily different) numbers and , is a divisor of . (Note that and holds for all integers and .)
Solution
If is an odd number and we set , we see that must hold, which means that must hold for all odd values of .
If we now set and (with still odd), we further see that must also hold, which means that must be divisible by all odd numbers, which is only possible for .
Next, we set and with even, and in this case we also obtain .
It follows that must hold for all integers , and it is obvious that any function with this property also fulfills the requirements of the problem, which completes the solution.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.