Skip to main content
OlympiadHQ

Browse · MathNet

Print

Brazil

Brazil number theory

Problem

Given positive integers , and integer , prove that there exists a positive integer such that that is, there exists a positive integer such that is a divisor of .
Solution
Let be the length of the cycle of the sequence mod . Thus for all positive integer and large enough.

Let . The multiples of mod are the multiples of . Let's prove that if then . Since divides , . Suppose that . So divides . Note that it's not possible that two equal remainders appear in the same cycle, because implies , that is, is multiple of , contradiction. Hence the length of the cycle of mod does not exceed . Thus, if divides , . This means that divides some and also every bigger power of . Hence, and . The problem now goes by induction on . It is obvious for . Suppose that and that the result is true for every positive integer less than . Then it is true for , because . By the induction hypothesis, there are sufficiently large such that for every . Let , with . So, from and , But, when varies, goes through all multiples of . Thus there exists such that . Plugging it in , Hence, we can take and the induction step is complete.

Techniques

Modular ArithmeticGreatest common divisors (gcd)