Maths Olympiad Prep

Library / Iranian Mathematical Olympiad /216 of 270

Iranian Mathematical Olympiad

Number theory Difficulty 7.2 National Olympiad, round 2 Prove it Iran

For a sequence of positive integers x1,x2,…x_1, x_2, \dots, we perform the following operation: In the ii-th step, we mark all rational numbers in the interval [0,1][0, 1] with denominator xix_i (i.e., numbers of the form j/xij/x_i for j∈{0,1,…,xi}j \in \{0, 1, \dots, x_i\}). Let aia_i be the length of the shortest interval whose two endpoints have been marked up to step ii. Find all sequences x1,x2,…x_1, x_2, \dots such that x5=5x_5 = 5 and for every natural number nn, we have:
a1+a2+⋯+an=2−1xna_1 + a_2 + \dots + a_n = 2 - \frac{1}{x_n}

Solution

First, note that since a1+a2+⋯+ana_1 + a_2 + \cdots + a_n is increasing according to the relation a1+a2+⋯+an=xnna_1 + a_2 + \cdots + a_n = \frac{x_n}{n}, the sequence xnx_n must also be increasing. We prove by induction that an=na_n = n. First, notice that by the problem's condition, it holds up to n=5n = 5. Assume the statement holds for nn, and we want to prove it for n+1n+1. For i<ni < n, we have:
ai=1i−1−1i=1i(i+1) a_i = \frac{1}{i-1} - \frac{1}{i} = \frac{1}{i(i+1)}
Thus, we have:
an+1=2−1xn+1−2+1n=xn+1−nnxn+1 a_{n+1} = 2 - \frac{1}{x_{n+1}} - 2 + \frac{1}{n} = \frac{x_{n+1} - n}{n x_{n+1}}
Now if gcd⁡(xn,n)=d\gcd(x_n, n) = d, by Bezout's theorem, we have an interval of length dnxn+1\frac{d}{n x_{n+1}}. Because d∣xn+1−n→d≤xn+1−nd|x_{n+1} - n \rightarrow d \le x_{n+1} - n, by assumption, we should have d=xn+1−nd = x_{n+1} - n. If d=nkd = n k, we have
xn+1=d(k+1)→an+1=1n(k+1) x_{n+1} = d(k+1) \rightarrow a_{n+1} = \frac{1}{n(k+1)}
On the other hand:
an+1≤1n(n−1)  ⟹  k+1≥n−1  ⟹  k≥n−2 a_{n+1} \le \frac{1}{n(n-1)} \implies k+1 \ge n-1 \implies k \ge n-2
Since n≥5n \ge 5 and we have k∣nk|n, we have k=nk=n, and consequently xn+1+1=nx_{n+1} + 1 = n. ■

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

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.