Skip to main content
OlympiadHQ

Browse · MathNet

Print

37th Iranian Mathematical Olympiad

Iran number theory

Problem

Let and and be two sequences of positive integers such that . For all Prove that there is a number with and such that for all .

(Note that
Solution
Let , , and . Obviously , so .

Claim. If the sequence doesn't eventually become constant , there exists such that (). Proof. Assume that there exists an index large enough that and . So we get Now note that So inductively, the claim will be proved. If the sequence becomes constant , then the sequence also becomes constant and we're done. Now consider the case that doesn't become constant . For all sufficiently large , . Also we know that and , which implies: Therefore, Now suppose that , which means . Then, because , we have . For all , define such that for some , and . Let . Then If we choose large enough, by the previous claim we know that . So . This means that . So we get that for all sufficiently large . But if , we have this means that , which is impossible for large enough . So there exists such that for all . This means that . So and we're done. ■

Techniques

Greatest common divisors (gcd)Factorization techniques