Browse · MathNet
PrintTeam selection tests
Vietnam algebra
Problem
Given are two coprime positive integers with odd and . The sequence is defined by , and for . Prove that
a) If is even then there do not exist positive integers such that is a positive integer.
b) If is odd then there do not exist positive integers such that is even and is a perfect square.
a) If is even then there do not exist positive integers such that is a positive integer.
b) If is odd then there do not exist positive integers such that is even and is a perfect square.
Solution
The general formula for the sequence is with and such that
We will now prove for all . Indeed, suppose there are and a prime such that and are divisible by . Since , . Since results in being divisible by or being divisible by . By induction, we obtain are divisible by or is divisible by , contradiction. Thus is coprime to all terms of the sequence.
We find the condition for the pairs with such that . It is easy to check that is a strictly increasing sequence of positive integers. Therefore, the necessary condition is . Next, if , we have the following equation is divisible by . So we have Therefore, by induction, if is the remainder of when divided by , then if and only if . Here are two cases:
If , then . Hence if and only if or . If , write with . We have Therefore, is divisible by if and only if is divisible by , i.e. is divisible by , which contradicts the fact that is strictly increasing.
In short, for , we have if and only if for some natural number .
a.
Since and are even, we can inductively prove that is even for all . Considering the quotient of with , we have is odd, because is odd. So if is divisible by then is odd, so this fraction is not divisible by .
b.
Consider three numbers such that is divisible by . Then, there exist natural numbers such that Since the product is even, all of three numbers are even. Set , and . For each natural number : On the other hand, where is the expression inside the brackets. So by assumption, if is a perfect square then Therefore, for every prime divisor dividing then leads to which is a quadratic residue modulo . This implies that has the form or , for every prime divisor of . Thus divided by leaves a remainder of or . On the other hand, and are odd so this is a contradiction. So is not a perfect square and the same for .
We will now prove for all . Indeed, suppose there are and a prime such that and are divisible by . Since , . Since results in being divisible by or being divisible by . By induction, we obtain are divisible by or is divisible by , contradiction. Thus is coprime to all terms of the sequence.
We find the condition for the pairs with such that . It is easy to check that is a strictly increasing sequence of positive integers. Therefore, the necessary condition is . Next, if , we have the following equation is divisible by . So we have Therefore, by induction, if is the remainder of when divided by , then if and only if . Here are two cases:
If , then . Hence if and only if or . If , write with . We have Therefore, is divisible by if and only if is divisible by , i.e. is divisible by , which contradicts the fact that is strictly increasing.
In short, for , we have if and only if for some natural number .
a.
Since and are even, we can inductively prove that is even for all . Considering the quotient of with , we have is odd, because is odd. So if is divisible by then is odd, so this fraction is not divisible by .
b.
Consider three numbers such that is divisible by . Then, there exist natural numbers such that Since the product is even, all of three numbers are even. Set , and . For each natural number : On the other hand, where is the expression inside the brackets. So by assumption, if is a perfect square then Therefore, for every prime divisor dividing then leads to which is a quadratic residue modulo . This implies that has the form or , for every prime divisor of . Thus divided by leaves a remainder of or . On the other hand, and are odd so this is a contradiction. So is not a perfect square and the same for .
Techniques
Recurrence relationsVieta's formulasGreatest common divisors (gcd)Quadratic residues