Skip to main content
OlympiadHQ

Browse · MathNet

Print

XXVII Olimpiada Matemática Rioplatense

Argentina number theory

Problem

Find all triplets of coprime positive integers (not necessarily pairwise coprime) such that divides simultaneously the three numbers , , and .
Solution
Assume is a triple satisfying the required conditions. For every positive integer , let . We denote .

First, let us show that divides for every non-negative integer . We proceed by induction on . For , the claim is true by our assumptions on . Let and assume the result holds for and ; we will see it is true for . We have that By the induction assumption, divides , and ; therefore, the above equality implies that divides , as we wanted to prove.

Consider the factorization . If are integers, it implies that every divisor of also divides . By taking , and , and recalling that divides , we deduce that divides . Since , we know that divides ; therefore, divides .

Assume is a prime factor of . Since divides , then, it divides or . With no loss of generality, assume divides ; then, divides , as it divides . But we also have that divides , and looking modulo , we get that . It follows that divides and, as a consequence, it divides , contradicting the fact that and are coprime. We conclude that does not have a prime divisor greater than 3.

Hence, for non-negative integers and . Finally, we will show that . If , we have that . As the quadratic residues modulo 4 are 0 and 1, the only possibility is that , contradicting the coprimality of . Similarly, if , we have that but, taking into account that for an integer , the possible residues of modulo 9 are 0 and 1, this implies that , which is again a contradiction.

Therefore, the possible values of are 3 and 6, since are positive integers and, consequently, the possible triples are , , and . It is clear that the first one satisfies the conditions and that the last one is not a solution because are not coprime. Now, is not a solution either, since does not divide (this number has residue 2 modulo 3). To check that satisfies the conditions, it suffices to note that and for every positive integer .

We conclude that the solutions are and .
Final answer
{1, 1, 1} and {1, 1, 4}

Techniques

Factorization techniquesGreatest common divisors (gcd)Polynomials mod pRecurrence relations