Maths Olympiad Prep

Library / Olimpiadi di Matematica /15 of 32

Olimpiadi di Matematica

Algebra Difficulty 5.0 AIME Find the answer Italy

Problem:

Let p(x)=x20+a19x19+a18x18+…+a1x+a0p(x)=x^{20}+a_{19} x^{19}+a_{18} x^{18}+\ldots+a_{1} x+a_{0} be a polynomial, with the aia_{i} integers. We know that, for all integers kk between 1 and 20, p(k)=2kp(k)=2 k. What are the last 3 digits of p(21)p(21)?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:

The answer is 042. Let q(x)=p(x)−2xq(x)=p(x)-2 x. Since p(k)=2kp(k)=2 k for k=1,…,20k=1, \ldots, 20, then also q(k)=0q(k)=0 for k=1,…,20k=1, \ldots, 20. By the Factor Theorem, this is equivalent to saying that the polynomial q(x)q(x) is divisible by x−1,x−2,…,x−20x-1, x-2, \ldots, x-20. But then it is also divisible by their product, and hence we have
q(x)=(x−1)(x−2)⋯(x−20)r(x) q(x)=(x-1)(x-2) \cdots(x-20) r(x)
for some polynomial r(x)r(x). If r(x)r(x) had degree 1 or higher, q(x)q(x) and hence also p(x)=q(x)+2xp(x)=q(x)+2 x would come to have degree higher than 20, which contradicts the hypothesis. So r(x)r(x) is constant, say r(x)=αr(x)=\alpha. Expanding the product in equation (2) we then get that the term of maximum degree (that is, 20) of q(x)q(x), and hence of p(x)p(x), has coefficient α\alpha; hence it must be r(x)=α=1r(x)=\alpha=1. We have thus shown that
q(x)=(x−1)(x−2)⋯(x−20). q(x)=(x-1)(x-2) \cdots(x-20) .
From this equality it follows that
p(x)=(x−1)(x−2)⋯(x−20)+2x p(x)=(x-1)(x-2) \cdots(x-20)+2 x
and hence, evaluating the polynomial at x=21x=21, we get
p(21)=20⋅19⋯1+2⋅21=20!+42 p(21)=20 \cdot 19 \cdots 1+2 \cdot 21=20 !+42
The term 20! is a multiple of 1000 (one can easily verify that it contains enough factors of 2 and 5); more precisely, 20! ends with exactly 4 zeros (there are only 4 factors equal to 5). Hence the last three digits of p(21)p(21) are 042.

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 translated into English from it; metadata (topic, difficulty) added by this project.