Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2014 / Problems / Day 2, P6

IMC 2014 · Day 2 · P6

easy

For a positive integer xx, denote its nthn^{\text{th}} decimal digit by dn(x)d_n(x), i.e. dn(x){0,1,,9}d_n(x) \in \{0, 1, \dots, 9\} and x=n=1dn(x)10n1x = \sum_{n=1}^{\infty} d_n(x) 10^{n-1}. Suppose that for some sequence (an)n=1\bigl( a_n \bigr)_{n=1}^{\infty}, there are only finitely many zeros in the sequence (dn(an))n=1\bigl( d_n(a_n) \bigr)_{n=1}^{\infty}. Prove that there are infinitely many positive integers that do not occur in the sequence (an)n=1\bigl( a_n \bigr)_{n=1}^{\infty}.

(Proposed by Alexander Bolbot, State University, Novosibirsk)

Solution 1 of 2 (official)

By the assumption there is some index n0n_0 such that dn(an)1d_n(a_n) \ne 1 for nn0n \ge n_0. We show that an+1,an+2,>10nfor nn0.(1)\tag{1} a_{n+1}, a_{n+2}, \dots > 10^n \quad \text{for } n \ge n_0. Notice that in the sum an=k=1dk(an)10k1a_n = \sum\limits_{k=1}^{\infty} d_k(a_n) 10^{k-1} we have the term dn(an)10n1d_n(a_n) 10^{n-1} with dn(an)1d_n(a_n) \ge 1. Therefore, an10n1a_n \ge 10^{n-1}. Then for m>nm > n we have am10m>10na_m \ge 10^m > 10^n. This proves (1).

From (1) we know that only the first nn elements, a1,a2,,ana_1, a_2, \dots, a_n may lie in the interval [1,10n][1, 10^n]. Hence, at least 10nn10^n - n integers in this interval do not occur in the sequence at all. As lim(10nn)=\lim (10^n - n) = \infty, this shows that there are infinitely many numbers that do not appear among a1,a2,a_1, a_2, \dots.

Solution 2 of 2 (official)

We will use Cantor's diagonal method to construct infinitely many positive integers that do not occur in the sequence (an)(a_n).

Assume that dn(an)0d_n(a_n) \ne 0 for n>n0n > n_0. Define the sequence of digits gn={2dn(xn)=11dn(xn)1.g_n = \begin{cases} 2 & d_n(x_n) = 1 \\ 1 & d_n(x_n) \ne 1. \end{cases} Hence gndn(an)g_n \ne d_n(a_n) for every positive integer nn. Let xk=n=1kgn10n1for k=1,2,.x_k = \sum_{n=1}^{k} g_n \cdot 10^{n-1} \quad \text{for } k = 1, 2, \dots. As xk+110k>xkx_{k+1} \ge 10^k > x_k, the sequence (xk)(x_k) is increasing and so it contains infinitely many distinct positive integers. We show that the numbers xn0,xn0+1,xn0+2,x_{n_0}, x_{n_0+1}, x_{n_0+2}, \dots no not occur in the sequence (an)(a_n); in other words, xkanx_k \ne a_n for every pair n1n \ge 1 and kn0k \ge n_0 of integers.

Indeed, if knk \ge n then dn(xk)=gndn(an)d_n(x_k) = g_n \ne d_n(a_n), so xkanx_k \ne a_n.

If n>kn0n > k \ge n_0 then dn(xk)=0dn(an)d_n(x_k) = 0 \ne d_n(a_n), so xkanx_k \ne a_n.

How the field did

contestants scored
320
average (of 10)
8.65
solved (≥ 80%)
85.6%
near-0 (≤ 10%)
12.2%
discrimination
0.38

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2025 · Day 2 · P7mediumavg 5.5/10 · solved 39% · near-0 19% · disc 0.62
IMC 2022 · Day 2 · P6hardavg 3.1/10 · solved 21% · near-0 55% · disc 0.53
IMC 2022 · Day 1 · P3very hardavg 2.3/10 · solved 12% · near-0 55% · disc 0.64
IMC 2016 · Day 2 · P8very hardavg 2.1/10 · solved 10% · near-0 62% · disc 0.38