Find all positive integer such that there exists a permutation of satisfying the condition:
Solution
It is easy to see that , satisfy the given condition, while does not. We will show that all numbers do not satisfy the condition.
First, we can see that
then is divisible by , which means or is an odd number. We also have
Thus, is divisible by .
On the other hand,
then we must have
It implies that
Continue, we have
Similarly, we get , then , which is a contradiction.
Hence, the only two satisfied values are and .
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.