Maths Olympiad Prep

Track / Stage 7 / 133 of 300 #1533 of 1964

Problem 1533

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.2 Prove it

Let cc be a fixed positive integer, and let ann=1inf{a_n}^{\inf}_{n=1} be a sequence of positive integers such that an<an+1<an+ca_n < a_{n+1} < a_n+c for every positive integer nn. Let ss denote the infinite string of digits obtained by writing the terms in the sequence consecutively from left to right, starting from the first term. For every positive integer kk, let sks_k denote the number whose decimal representation is identical to the kk most left digits of ss. Prove that for every positive integer mm there exists a positive integer kk such that sks_k is divisible by mm.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

1. **Define the sequence and the string s s :**
Let c c be a fixed positive integer, and let {an}n=1 \{a_n\}_{n=1}^{\infty} be a sequence of positive integers such that an<an+1<an+c a_n < a_{n+1} < a_n + c for every positive integer n n . Let s s denote the infinite string of digits obtained by writing the terms in the sequence consecutively from left to right, starting from the first term. For every positive integer k k , let sk s_k denote the number whose decimal representation is identical to the k k most left digits of s s .

2. **Express m m in terms of its prime factors:**
Let m=2α5βv m = 2^{\alpha} \cdot 5^{\beta} \cdot v where v v is a positive integer such that gcd(10,v)=1 \gcd(10, v) = 1 .

3. Lemma:
There exists a positive integer K K such that ϕ(v)d(K) \phi(v) \mid d(K) and vK1 v \mid K - 1 , where d(K) d(K) is the number of digits of K K and ϕ \phi is Euler's totient function.

4. Proof of Lemma:
Consider the interval [10mϕ(v)1,10mϕ(v)1+m][10^{m \phi(v) - 1}, 10^{m \phi(v) - 1} + m]. By the pigeonhole principle, there exists some T T in this interval such that mT1 m \mid T - 1 . Then T10ϕ(v)max{α,β} T \cdot 10^{\phi(v) \cdot \max\{\alpha, \beta\}} satisfies the conditions of the lemma.

5. **Constructing the sequence yj y_j :**
Let yj y_j be the number obtained by concatenating j j copies of K K . We need to show that there exists an an a_n in the interval [y2m10a1+c,y2m10a1+c+1)[y_{2m} \cdot 10^{a_1 + c}, y_{2m} \cdot 10^{a_1 + c + 1}). Since an a_n increases by less than 10a1+c 10^{a_1 + c} in each step, we can find such an an a_n .

6. **Finding the least an a_n :**
Let ap+1 a_{p+1} be the least such an a_n . We have a1<ap+1 a_1 < a_{p+1} , so p p is a positive integer. Define r0=a1ap r_0 = \overline{a_1 \ldots a_p} , r1=a1apy1 r_1 = \overline{a_1 \ldots a_p y_1} , ..., r2m=a1apy2m r_{2m} = \overline{a_1 \ldots a_p y_{2m}} .

7. Proving divisibility:
Notice that rn+1=rn10d(K)+Krn+1(modv) r_{n+1} = r_n \cdot 10^{d(K)} + K \equiv r_n + 1 \pmod{v} . Therefore, for some l>0 l > 0 , we have vrl v \mid r_l . Since rl=rl110d(K)+K r_l = r_{l-1} \cdot 10^{d(K)} + K is divisible by u u and gcd(u,v)=1 \gcd(u, v) = 1 , it implies mrl m \mid r_l , which is a si s_i .

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.