Browse · MathNet
Print74th NMO Selection Tests for BMO and IMO
Romania number theory
Problem
Let be a positive integer and let and be positive integers congruent to modulo . Prove that there exists a positive integer such that at least one of the numbers and is divisible by .
Solution
Lemma. For any integer , if , then . Proof. Write . By hypothesis, is divisible by . As leaves remainder 2 upon division by , it follows that is the highest power of 2 dividing , whence the conclusion of the lemma. Let and be the highest powers of 2 dividing and , respectively. By hypothesis, and . Note that and . We may and will assume . Apply the lemma times to get , so is divisible by . Now, induct on . By the preceding, if , then is divisible by , so will do. Let . For the induction step, let be divisible by for some . If it is divisible by we are done, so let .
Second solution. Clearly, works for both and , so let . If or , the conclusion follows by Euler's theorem, so let and . Note that and may be replaced by their residues modulo to assume them both less than . For every integer , let . We first show that if and are in , then so is . Write and . Then , where . Note that falls in the range 0 through and write . Then , where . Consequently, is in , as stated. Let and be the highest powers of 2 dividing and , respectively. We may and will assume . Note that belongs to , where is odd and . By the preceding, the residues modulo of are all in . We now show that is the least positive integer satisfying . By minimality, divides , as . Write As divides and divides , it follows that divides , so . Suppose now, if possible, that divides . Then , so divides . As is divisible by but not by , it follows that is divisible by , contradicting the choice of . Consequently, , as stated.
Third solution. Work in . Clearly, works for both and , so let . The units of consist of all positive odd integers less than . They form a multiplicative copy of the additive with generators , of order , and , of order . Thus every unit has the form , , . As and are both modulo , it follows that and . As has order , it is sufficient to provide a positive integer such that at least one of the numbers and is divisible by . Let be the highest power of dividing . Then at least one of the numbers and is odd and hence invertible modulo ; say, is odd and let be its inverse modulo . Then makes divisible by , as desired.
Second solution. Clearly, works for both and , so let . If or , the conclusion follows by Euler's theorem, so let and . Note that and may be replaced by their residues modulo to assume them both less than . For every integer , let . We first show that if and are in , then so is . Write and . Then , where . Note that falls in the range 0 through and write . Then , where . Consequently, is in , as stated. Let and be the highest powers of 2 dividing and , respectively. We may and will assume . Note that belongs to , where is odd and . By the preceding, the residues modulo of are all in . We now show that is the least positive integer satisfying . By minimality, divides , as . Write As divides and divides , it follows that divides , so . Suppose now, if possible, that divides . Then , so divides . As is divisible by but not by , it follows that is divisible by , contradicting the choice of . Consequently, , as stated.
Third solution. Work in . Clearly, works for both and , so let . The units of consist of all positive odd integers less than . They form a multiplicative copy of the additive with generators , of order , and , of order . Thus every unit has the form , , . As and are both modulo , it follows that and . As has order , it is sufficient to provide a positive integer such that at least one of the numbers and is divisible by . Let be the highest power of dividing . Then at least one of the numbers and is odd and hence invertible modulo ; say, is odd and let be its inverse modulo . Then makes divisible by , as desired.
Techniques
Inverses mod nFermat / Euler / Wilson theoremsMultiplicative orderGroup Theory