Problem:
Let be a polynomial, with the integers. We know that, for all integers between 1 and 20, . What are the last 3 digits of ?
Problem:
Let be a polynomial, with the integers. We know that, for all integers between 1 and 20, . What are the last 3 digits of ?
Solution:
The answer is 042. Let . Since for , then also for . By the Factor Theorem, this is equivalent to saying that the polynomial is divisible by . But then it is also divisible by their product, and hence we have
for some polynomial . If had degree 1 or higher, and hence also would come to have degree higher than 20, which contradicts the hypothesis. So is constant, say . Expanding the product in equation (2) we then get that the term of maximum degree (that is, 20) of , and hence of , has coefficient ; hence it must be . We have thus shown that
From this equality it follows that
and hence, evaluating the polynomial at , we get
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 are 042.