Maths Olympiad Prep

Library / /4 of 4

Algebra Difficulty 7.2 National Olympiad, round 2 Prove it Italy

Problem:

Ambra constructs a sequence of numbers, starting from a positive real number x0x_{0}, in the following way: given the nn-th term xnx_{n}, the next term is xn+1={11xn}x_{n+1} = \{1 - \frac{1}{x_{n}}\}, where {α}\{\alpha\} represents the fractional part of α\alpha, that is, the difference between α\alpha and the greatest integer less than or equal to α\alpha. As soon as Ambra obtains a term equal to 00, she stops the sequence.

a. Prove that if the starting number x0x_{0} is of the form pq\frac{p}{q}, where pp and qq are positive integers, sooner or later the sequence stops.

b. Prove that, if the sequence stops, then the starting point x0x_{0} was of the form pq\frac{p}{q}, where pp and qq are positive integers.

Solution

Solution:

a. If we can write xnx_{n} in the form xn=pnqnx_{n} = \frac{p_{n}}{q_{n}} with pnp_{n} and qnq_{n} coprime integers, then xn+1x_{n+1} can also be written in the same form. Indeed, if we define the integer kk as k=11xnk = -\left\lfloor 1 - \frac{1}{x_{n}} \right\rfloor (where x\lfloor x \rfloor denotes the greatest integer less than or equal to xx), we have
xn+1=11xn+k=(1+k)pnqnpn=pn+1qn+1 x_{n+1} = 1 - \frac{1}{x_{n}} + k = \frac{(1+k)p_{n} - q_{n}}{p_{n}} = \frac{p_{n+1}}{q_{n+1}}
with pn+1p_{n+1} and qn+1q_{n+1} coprime.
In particular qn+1pnq_{n+1} \leq p_{n} and the inequality is strict whenever pnp_{n} is not coprime with (1+k)pnqn(1+k)p_{n} - q_{n}.
Now, since for n1n \geq 1 we have 0xn<10 \leq x_{n} < 1, necessarily qn>pnqn+1q_{n} > p_{n} \geq q_{n+1}. Therefore the sequence of positive integers qmq_{m} is strictly decreasing, hence it cannot be infinite.

Note. The fraction (1+k)pnqnpn\frac{(1+k)p_{n} - q_{n}}{p_{n}} is in fact already reduced to lowest terms: indeed MCD(pn,(1+k)pnqn)=MCD(pn,qn)=1\operatorname{MCD}\left(p_{n}, (1+k)p_{n} - q_{n}\right) = \operatorname{MCD}\left(p_{n}, q_{n}\right) = 1, where the first equality follows from the well-known property (a+kb,b)=(a,b)(a + k b, b) = (a, b).

b. The sequence stops precisely when a certain element xnx_{n} is equal to 00. Given the formula that defines the sequence, xn={11xn1}x_{n} = \{1 - \frac{1}{x_{n-1}}\}, this tells us that 11xn11 - \frac{1}{x_{n-1}} is an integer, say mm, and hence that xn1=11mx_{n-1} = \frac{1}{1 - m} is a rational number. We can now proceed backwards: if a certain term xhx_{h} is rational, then from the formula xh={11xh1}x_{h} = \{1 - \frac{1}{x_{h-1}}\} we obtain that there exists an integer mhm_{h} such that xh=11xh1mhx_{h} = 1 - \frac{1}{x_{h-1}} - m_{h}, from which xh1=11mhxhx_{h-1} = \frac{1}{1 - m_{h} - x_{h}} is also a rational number. Proceeding in this way we obtain (by induction) that x0x_{0} is also rational, as required.

Alternative solution.
Proving that if x0>0x_{0} > 0 has a finite sequence, then it is a rational number (that is, x0=pqx_{0} = \frac{p}{q} for suitable integers p,qp, q) is equivalent to proving that if x0>0x_{0} > 0 is not rational, then its sequence is infinite.
We show that if xnx_{n} is not rational, then neither is xn+1x_{n+1}; indeed, if there existed p,qNp, q \in \mathbb{N} such that pq=xn+1={11xn}\frac{p}{q} = x_{n+1} = \{1 - \frac{1}{x_{n}}\}, we would have xn=q(1+k)qpx_{n} = \frac{q}{(1+k)q - p} (with kk as in the first part of the proof of the exercise), that is, xnx_{n} would be rational, contrary to the hypothesis.
Therefore, by induction, if x0>0x_{0} > 0 is not rational, no term of the sequence is rational, so in particular 00 cannot appear in the sequence.

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 translated into English from it; metadata (topic, difficulty) added by this project.