Maths Olympiad Prep

Library / /47 of 120

, 2012

Number theory Difficulty 5.1 AIME, harder Prove it Saudi Arabia

Let aa, bb, cc, dd be integers with aa, cc both nonzero, and define xn=gcd(an+b,cn+d)x_n = \gcd(an + b, cn + d) for all positive integers nn. Show that the sequence x1,x2,x3,x_1, x_2, x_3, \dots is unbounded if and only if ad=bcad = bc.

Solution

Note that
gcd(acn+bc,acn+ad)acgcd(an+b,cn+d)gcd(acn+bc,acn+ad). \begin{aligned} \frac{\gcd(acn + bc, acn + ad)}{ac} &\le \gcd(an + b, cn + d) \\ &\le \gcd(acn + bc, acn + ad). \end{aligned}
Suppose ad=bcad = bc. We have
gcd(an+b,cn+d)gcd(acn+bc,acn+ad)ac=gcd(acn+bc,acn+bc)ac=n+ba. \begin{aligned} \gcd(an + b, cn + d) &\ge \frac{\gcd(acn + bc, acn + ad)}{ac} \\ &= \frac{\gcd(acn + bc, acn + bc)}{ac} \\ &= n + \frac{b}{a}. \end{aligned}
n+ban + \frac{b}{a} is unbounded, so gcd(an+b,cn+d)\gcd(an+b, cn+d) is also unbounded as desired.

On the other hand, suppose adbcad \neq bc. Then adbc0|ad - bc| \neq 0, so therefore
gcd(an+b,cn+d)gcd(acn+bc,acn+ad)=gcd(acn+bc,adbc)adbc. \begin{aligned} \gcd(an + b, cn + d) &\le \gcd(acn + bc, acn + ad) \\ &= \gcd(acn + bc, ad - bc) \\ &\le |ad - bc|. \end{aligned}
Therefore gcd(an+b,cn+d)\gcd(an+b, cn+d) is bounded above by a fixed number that is independent of nn.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.