Maths Olympiad Prep

Library / /8 of 24

, 2023

Number theory Difficulty 5.2 AIME, harder Prove it United States

Problem:

Let a1,a2,a_{1}, a_{2}, \ldots be an infinite sequence of positive integers such that, for all positive integers mm and nn, we have that am+na_{m+n} divides aman1a_{m} a_{n}-1. Prove that there exists an integer CC such that, for all positive integers k>Ck>C, we have ak=1a_{k}=1.

Solution

Solution:

For convenience, define g(x):NNg(x): \mathbb{N} \rightarrow \mathbb{N} to be g(n)=ang(n)=a_{n}.
We first prove that 1Im(g)1 \in \operatorname{Im}(g). Assume otherwise. First, note that gcd(g(m+n),g(m))=1\operatorname{gcd}(g(m+n), g(m))=1 for all positive integers m,nm, n, so thus if gg never takes the value 11 then gg is injective (and the values it takes are pairwise relatively prime.) Now, let g(1)=ag(1)=a and g(2)=bg(2)=b. Note that for every xx, there exist integers m,n,pm, n, p such that
g(x+1)=ag(x)1mg(x+1)=bg(x1)1ng(x)=ag(x1)1p. \begin{aligned} g(x+1) & =\frac{a g(x)-1}{m} \\ g(x+1) & =\frac{b g(x-1)-1}{n} \\ g(x) & =\frac{a g(x-1)-1}{p} . \end{aligned}
Hence,
g(x+1)=bg(x1)1n=a2g(x1)apmp. g(x+1)=\frac{b g(x-1)-1}{n}=\frac{a^{2} g(x-1)-a-p}{m p} .
Now, suppose g(x+1)g(x1)g(x+1) \geq g(x-1). Then we must have n<b,mp<a2n<b, m p<a^{2}. Hence there are finitely many choices for (n,m,p)(n, m, p), and each such choice leads to finitely many possibilities for g(x1)g(x-1) unless bmp=na2b m p=n a^{2}. But gcd(b,a2)=1\operatorname{gcd}\left(b, a^{2}\right)=1, so this implies that bnb \mid n, and hence bnb \leq n, which is false. Hence this means that if g(x+1)g(x1)g(x+1) \geq g(x-1) then g(x1)g(x-1) must take one of a finite set of possible values.

Now, recall that gg is injective. Hence this implies that in fact g(x+1)g(x1)g(x+1) \geq g(x-1) can only occur a finite number of times, and so for all sufficiently large xx, g(x+1)<g(x1)g(x+1)<g(x-1). But this is a contradiction to gg being injective, and so our hypothesis was false and hence 1Im(g)1 \in \operatorname{Im}(g).

Note that this proof works identically if we scale all the inputs by any positive integer, so this implies that every integer has a multiple in S:=g1({1})S:=g^{-1}(\{1\}).

We now finish the problem. Consider the smallest value of Im(g)\operatorname{Im}(g) not equal to 11 (if it doesn't exist then we are done), and say g(c)g(c) is equal to this value. Then note that if aSa \in S, then g(a+c)g(c)1g(a+c) \leq g(c)-1 and so a+cSa+c \in S. Now, let kck c be a multiple of cc which is in SS; then dcSd c \in S for all dkd \geq k. Now, for each residue class modulo cc, select an element jj for which g(j)1g(j) \neq 1 (if no such element exists we'll still be done, as we will see.) Then for all dk,g(j+dc)g(j)1d \geq k, g(j+d c) \leq g(j)-1. Hence gg is bounded in each residue class, and so gg is bounded. Now note that gg is injective in Z+\S\mathbb{Z}^{+} \backslash S, so in fact Z+\S\mathbb{Z}^{+} \backslash S must be finite! So g(x)=1g(x)=1 for all sufficiently large xx, as desired.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.