Daily

Random

Practice set

Baltic Way 2025 · Problem 16

Number Theory

Let a,b,c,na,b,c,n be positive integers satisfying abc=10n−1abc=10^n-1. If S(x)S(x) denotes the sum of digits of xx in decimal notation, prove that

S(a)+S(b2)+S(c4)≥243n3.S(a)+S(b^2)+S(c^4)\ge\sqrt[3]{243n}.
Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Diophantine equations

Solutions

Solution

We use three lemmas.

Lemma 1. For positive integers p,qp,q,

S(p+q)≤S(p)+S(q).S(p+q)\le S(p)+S(q).

Proof. In fact,

S(p+q)=S(p)+S(q)−9⋅(number of carries when adding p and q),S(p+q)=S(p)+S(q)-9\cdot(\text{number of carries when adding }p\text{ and }q),

which follows directly from decimal addition.

Lemma 2. For positive integers p,qp,q,

S(pq)≤S(p)S(q).S(pq)\le S(p)S(q).

Proof. Write

p=pm10m+pm−110m−1+⋯+p0,0≤pi≤9.p=p_m10^m+p_{m-1}10^{m-1}+\cdots+p_0, \qquad 0\le p_i\le9.

Using Lemma 1 repeatedly,

S(qp)≤S(qpm10m)+S(qpm−110m−1)+⋯+S(qp0)=S(qpm)+S(qpm−1)+⋯+S(qp0)≤pmS(q)+pm−1S(q)+⋯+p0S(q)=S(p)S(q).\begin{aligned} S(qp) &\le S(qp_m10^m)+S(qp_{m-1}10^{m-1})+\cdots+S(qp_0)\\ &=S(qp_m)+S(qp_{m-1})+\cdots+S(qp_0)\\ &\le p_mS(q)+p_{m-1}S(q)+\cdots+p_0S(q)\\ &=S(p)S(q). \end{aligned}

Lemma 3. For every positive integer mm, every positive multiple of 10m−110^m-1 has digit sum at least 9m9m.

Proof. We induct on the multiple. Certainly S(10m−1)=9mS(10^m-1)=9m. Let pp be a larger multiple and write

p=10mp1+p0,0≤p0<10m.p=10^mp_1+p_0, \qquad 0\le p_0<10^m.

Since 10m≡1(mod10m−1)10^m\equiv1\pmod{10^m-1}, the integer p1+p0p_1+p_0 is also divisible by 10m−110^m-1, and it is smaller than pp. Hence

S(p)=S(p1)+S(p0)≥S(p1+p0)≥9m.S(p)=S(p_1)+S(p_0)\ge S(p_1+p_0)\ge9m.

Returning to the problem, ab2c4ab^2c^4 is a multiple of abc=10n−1abc=10^n-1, so Lemma 3 gives

S(ab2c4)≥9n.S(ab^2c^4)\ge9n.

By AM-GM and Lemma 2,

S(a)+S(b2)+S(c4)≥3S(a)S(b2)S(c4)3≥3S(ab2c4)3≥39n3=243n3.\begin{aligned} S(a)+S(b^2)+S(c^4) &\ge3\sqrt[3]{S(a)S(b^2)S(c^4)}\\ &\ge3\sqrt[3]{S(ab^2c^4)}\\ &\ge3\sqrt[3]{9n} =\sqrt[3]{243n}. \end{aligned}

Contest context

Results from Baltic Way 2025

11 teams

Mean score
0.5 / 5
Scores of 4 or 5
0 / 11
Estonia
1 / 5

Score distribution

07
13
20
31
40
50
All team scores
TeamScore
Germany1 / 5
Estonia1 / 5
Poland3 / 5
Lithuania0 / 5
Norway0 / 5
Latvia1 / 5
Finland0 / 5
Denmark0 / 5
Sweden0 / 5
Ukraine0 / 5
Iceland0 / 5