Browse · MathNet
Print6-th Czech-Slovak Match
Czech Republic number theory
Problem
Let be a positive integer. Prove that is a power of two if and only if there exists an integer such that is a divisor of .
Solution
We first show that if is a divisor of for some number , then is the power of number 2. Otherwise the has some odd divisor and so is a divisor of because divide . But for we have , and therefore the has prime divisors such that the . Firstly, we deal with . Since by Fermat little theorem we have But this is impossible, so . But then for odd we have , which is a contradiction. Consider now. For , the claim is true. If then Therefore, if divides , also divides for each . Moreover if the numbers and are relatively prime because if is the greatest common divisor and , then which is a contradiction. So it is necessarily (, because both are odd). Then, according to the Chinese remainder theorem there is a natural number such that Then for , and thus divides .
---
Alternative solution.
We claim that, if divides for some , then must be a power of 2. Suppose otherwise that has an odd divisor . Then is also a divisor of . However, has some prime divisor of the form , and by a well-known divides both and 3. Hence divides , which is impossible because, for odd, . Hence for some . Now let . We prove the existence of by induction on . The case is trivial. Now for any note that The induction hypothesis claims that there exists an such that . We also observe that for simple . By the Chinese remainder theorem, there is an that satisfies and . It is easy to see that this will be divisible by both and . This completes the induction.
---
Alternative solution.
We claim that, if divides for some , then must be a power of 2. Suppose otherwise that has an odd divisor . Then is also a divisor of . However, has some prime divisor of the form , and by a well-known divides both and 3. Hence divides , which is impossible because, for odd, . Hence for some . Now let . We prove the existence of by induction on . The case is trivial. Now for any note that The induction hypothesis claims that there exists an such that . We also observe that for simple . By the Chinese remainder theorem, there is an that satisfies and . It is easy to see that this will be divisible by both and . This completes the induction.
Techniques
Factorization techniquesChinese remainder theoremFermat / Euler / Wilson theoremsQuadratic residues