Maths Olympiad Prep

Library / National Mathematical Olympiad /1 of 2

National Mathematical Olympiad

Number theory Difficulty 6.6 National Olympiad Prove it Bulgaria

Find all real numbers aa with the following property: for every infinite sequence a1,a2,a3,…a_1, a_2, a_3, \dots of mutually distinct positive integers, such that the inequality an≤ana_n \le a n is satisfied for every positive integer nn, there are infinitely many terms of the sequence which has sum of their digits in numerical system with a base 40384038, which is not multiple 20192019.

Solution

Answer: 1≤a<20191 \le a < 2019.

It is clear that a≥1a \ge 1, since a1a_1 is a positive integer less than or equal to aa.

Denote by σ(an)\sigma(a_n) the remainder of the division of 20192019 by the sum of the digits of ana_n in base 40384038.

We consider the sequence {bn:σ(bn)=0}n=0∞\{b_n : \sigma(b_n) = 0\}_{n=0}^{\infty} formed by the numbers such that their sum of digits in base 40384038 is divisible by 20192019. We have b0=0b_0 = 0, b1=2019b_1 = 2019, etc.

For any positive integer nn, the numbers {σ(2019n),σ(2019n+1),…,σ(2019n+2018)}\{\sigma(2019n), \sigma(2019n+1), \dots, \sigma(2019n+2018)\} form a complete remainder system modulo 20192019 (because 2019n,…,2019n+20182019n, \dots, 2019n+2018 differ only in the last digit). Therefore
2019n≤bn≤2019n+2018.(1) 2019n \le b_n \le 2019n + 2018. \qquad (1)
Let us consider arbitrary sequence a1,a2,a3,…a_1, a_2, a_3, \dots which does not satisfy the condition, i.e. only finitely many of its terms ai1,ai2,…,aiℓa_{i_1}, a_{i_2}, \dots, a_{i_\ell} satisfy σ(aij)=0\sigma(a_{i_j}) = 0. Then there exists a positive integer MM such that am∈{bn}0∞a_m \in \{b_n\}_0^\infty for every m≥Mm \ge M. This means that for every positive integer NN we have aM+k∈{bn}0∞a_{M+k} \in \{b_n\}_0^\infty, k=0,…,Nk = 0, \dots, N.

Assume that a<2019a < 2019. Since the terms of the sequence are mutually distinct, we conclude that
2019N≤bN≤max⁡0≤k≤NaM+k≤a(M+N)⇒N≤aM2019−a,∀N,(2) 2019N \le b_N \le \max_{0 \le k \le N} a_{M+k} \le a(M+N) \Rightarrow N \le \frac{aM}{2019-a}, \forall N, \quad (2)
which is a contradiction because of the choice of (fixed) MM and aa. Therefore every 1≤a<20191 \le a < 2019 gives a sequence with the required properties.

For a≥2019a \ge 2019, the sequence 1,b1,b2,…1, b_1, b_2, \dots satisfies the restrictions an:=bn−1<2019(n+1)≤a(n+1)a_n := b_{n-1} < 2019(n+1) \le a(n+1) for every nn and σ(an)=0\sigma(a_n) = 0 for every n≥1n \ge 1. Therefore, only the first term of this sequence has sum of digits in base 40384038 which is not divisible by 20192019. Therefore a≥2019a \ge 2019 could not bring new solution.

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.