Olympiad Maths Prep

Track / Stage 6 / 378 of 400 #1378 of 2000

Problem 1378

National olympiad, first round
Algebra Difficulty 6.9 Prove it

## Problem A3

Show that there is a unique polynomial whose coefficients are all single decimal digits which takes the value nn at -2 and at -5 .

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

## Solution

Call the polynomial p(x)=p0+p1x+p2x2++pmxmp(x)=p_{0}+p_{1} x+p_{2} x^{2}+\ldots+p_{m} x^{m}. Since p(x)n=0p(x)-n=0 has -2 and -5 as roots, it must have the factor (x+2)(x+5)=x2+7x+10(x+2)(x+5)=x^{2}+7 x+10. So for some a0,a1,a2,a_{0}, a_{1}, a_{2}, \ldots we have:

```
10a0+n=p0{0,1,2,3,4,5,6,7,8,9}10 a_{0} \quad+n=p_{0} \in\{0,1,2,3,4,5,6,7,8,9\}
10a1+7a0=p1{0,1,2,3,4,5,6,7,8,9}10 a_{1}+7 a_{0} \quad=p_{1} \in\{0,1,2,3,4,5,6,7,8,9\}
10a2+7a1+a0=p2{0,1,2,3,4,5,6,7,8,9}10 a_{2}+7 a_{1}+a_{0} \quad=p_{2} \in\{0,1,2,3,4,5,6,7,8,9\}
10a3+7a2+a1=p3{0,1,2,3,4,5,6,7,8,9}10 a_{3}+7 a_{2}+a_{1} \quad=p_{3} \in\{0,1,2,3,4,5,6,7,8,9\}
. .
10ar+1+7ar+ar1=pr+1{0,1,2,3,4,5,6,7,8,9}10 a_{r+1}+7 a_{r}+a_{r-1}=p_{r+1} \in\{0,1,2,3,4,5,6,7,8,9\}
. . .
```

Now these equations uniquely determine ai\mathrm{a}_{\mathrm{i}} and pi\mathrm{p}_{\mathrm{i}}. For p0\mathrm{p}_{0} must be chosen so that p0n\mathrm{p}_{0}-\mathrm{n} is a multiple of 10 , which fixes p0p_{0} and a0a_{0} uniquely. Similarly, given pip_{i} and aia_{i} for 0ir0 \leq i \leq r, we have pr+1=10ar+1+7ar+ar1=p_{r+1}=10 a_{r+1}+7 a_{r}+a_{r-1}= 7ar+ar1mod107 a_{r}+a_{r-1} \bmod 10, so pr+1p_{r+1} is uniquely determined and hence also ar+1a_{r+1}. Thus any solution is certainly unique, but it is not clear that the process terminates, so that pi\mathrm{p}_{\mathrm{i}} and ai\mathrm{a}_{\mathrm{i}} are zero from some point on.

Evidently the sequence ai\mathrm{a}_{\mathrm{i}} is bounded. For if ai,ai+1B9\mathrm{a}_{\mathrm{i}}, \mathrm{a}_{i+1} \leq \mathrm{B} \geq 9, then ai+20.7 B+0.1 B+0.1 BB\left|\mathrm{a}_{i+2}\right| \leq 0.7 \mathrm{~B}+0.1 \mathrm{~B}+0.1 \mathrm{~B} \leq \mathrm{B}. So if we take B=max(9,a0,a1)B=\max \left(9,\left|a_{0}\right|,\left|a_{1}\right|\right), then aiB\left|a_{i}\right| \leq B for all i.

So we can define Lk=min(ak,ak+1,ak+2,),Uk=max(ak,ak+1,ak+2,)\mathrm{L}_{\mathrm{k}}=\min \left(\mathrm{a}_{\mathrm{k}}, \mathrm{a}_{\mathrm{k}+1}, \mathrm{a}_{\mathrm{k}+2}, \ldots\right), \mathrm{U}_{\mathrm{k}}=\max \left(\mathrm{a}_{\mathrm{k}}, \mathrm{a}_{\mathrm{k}+1}, \mathrm{a}_{\mathrm{k}+2}, \ldots\right). Obviously, we have L0L1\mathrm{L}_{0} \leq \mathrm{L}_{1} \leq \ldots \leq LkLk+1Uk+1UkU1U0\mathrm{L}_{\mathrm{k}} \leq \mathrm{L}_{\mathrm{k}+1} \leq \ldots \leq \mathrm{U}_{\mathrm{k}+1} \leq \mathrm{U}_{\mathrm{k}} \leq \ldots \leq \mathrm{U}_{1} \leq \mathrm{U}_{0}. So Li\mathrm{L}_{\mathrm{i}} is an increasing integer sequence which is bounded above, so we must have Li=L\mathrm{L}_{\mathrm{i}}=\mathrm{L} for all sufficiently large i. Similarly, Ui=U\mathrm{U}_{\mathrm{i}}=\mathrm{U} for all sufficiently large i\mathrm{i}, and LU\mathrm{L} \leq \mathrm{U} (1). But if ai,ai+1L\mathrm{a}_{\mathrm{i}}, \mathrm{a}_{\mathrm{i}+1} \geq \mathrm{L}, then ai+20.7 L0.1 L+0.90.8 L+0.9\mathrm{a}_{\mathrm{i}+2} \leq-0.7 \mathrm{~L}-0.1 \mathrm{~L}+0.9 \leq-0.8 \mathrm{~L}+0.9. So U0.8 L+0.9\mathrm{U} \leq-0.8 \mathrm{~L}+0.9 (2). Similarly, if ai,ai+1U\mathrm{a}_{\mathrm{i}}, \mathrm{a}_{\mathrm{i}+1} \leq \mathrm{U}, then ai+20.8U\mathrm{a}_{i+2} \geq-0.8 \mathrm{U}, so L0.8U(3)\mathrm{L} \geq-0.8 \mathrm{U}(3).

!

But as the diagram shows the only lattice point satisfying (1), (2), (3) is (0,0)(0,0), so ai=0a_{i}=0 for all sufficiently large i, which establishes existence.

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