Example 5 Given a positive integer , let be the smallest positive integer such that is divisible by . Prove that if and only if is a power of 2.
Problem 1413
Official solution
The first half of the problem is quite easy to prove. If , then on the one hand,
is divisible by . On the other hand, if , then
is not divisible by , because one of and is odd, and the other does not exceed , and thus is not divisible by . Combining these two aspects, we know that .
Now suppose is not a power of 2, i.e., , where is an odd number. We will prove that there exists a positive integer such that and , so that
is divisible by , and thus .
To prove the above claim, we consider
Since , by the Chinese Remainder Theorem, the system of congruences (1) must have a solution , and all solutions are , i.e., . Therefore, we can determine an that satisfies (1) and . Furthermore, by the second congruence in (1), we know that . And by the first congruence, we see that , so in fact . This proves the existence of an that meets the requirements.