Mysterious polynomial

A polynomial f ( x ) f(x) with positive integer coefficients satisfies f ( 1 ) = 12 f(1)= 12 and f ( 12 ) = 2080 f(12)=2080 . Find the last three digits of f ( 10 ) f(10) .

Details and assumptions

  • We are talking about all the numbers in their decimal representations.

  • You aren't given any information about the degree of the polynomial, except that it is positive.


The answer is 254.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

5 solutions

Discussions for this problem are now closed

Zi Song Yeoh
Apr 11, 2015

Let the polynomial be f ( x ) = a n x n + a n 1 x n 1 + . . . + a 1 x + a 0 f(x) = a_{n}x^n + a_{n - 1}x^{n - 1} + ... + a_{1}x + a_0 . Note that f ( 1 ) f(1) is the sum of coefficients of the polynomial, so all coefficients are strictly smaller f ( 1 ) = 12 f(1) = 12 . Now, note that f ( 12 ) f(12) gives the coefficients of the polynomial in base 12 12 ! So, since f ( 12 ) = 2080 f(12) = 2080 , converting 2080 2080 to base 12 12 gives 1254 1254 , but note that since a 3 = 1 , a 2 = 2 , a 1 = 5 , a 0 = 4 a_3 = 1, a_2 = 2, a_1 = 5, a_0 = 4 are all less than 10 10 . Thus, f ( 10 ) f(10) gives a 3 a 2 a 1 a 0 = 1254 \overline{a_3a_2a_1a_0} = 1254 and 1254 254 ( m o d 1000 ) 1254 \equiv \boxed{254} \pmod{1000}

@Zi Song Yeoh , we really liked your comment, and have converted it into a solution. If you subscribe to this solution, you will receive notifications about future comments

Brilliant Mathematics Staff - 6 years, 2 months ago
Jubayer Nirjhor
Jan 5, 2014

First note that 1 2 3 < 2080 < 1 2 4 12^3<2080<12^4 and since f ( x ) f(x) has positive integral coefficients, we deduce that deg ( f ) < 4 \deg (f)<4 .

If the degree is 1 1 , then f ( x ) = a x + b f(x)=ax+b for a , b N a,b\in\mathbb{N} but then a 11 a\le 11 and so 2080 2080 is not attainable.

If the degree is 2 2 then f ( x ) = a x 2 + b x + c f(x)=ax^2+bx+c for a , b , c N a,b,c\in\mathbb{N} , but then a 10 a\le 10 and so 2080 2080 is still not attainable.

We're left with 3 3 and 2080 2080 can be attainable when deg ( f ) = 3 \deg (f)=3 . We have f ( x ) = a x 3 + b x 2 + c x + d f(x)=ax^3+bx^2+cx+d for a , b , c , d N a,b,c,d\in\mathbb{N} . Thus we get two equations:

f ( 1 ) = a + b + c + d = 12 and f ( 12 ) = 1728 a + 144 b + 12 c + d = 2080 f(1)=a+b+c+d=12 ~~~\text{and}~~~ f(12)=1728a+144b+12c+d=2080

Subtracting the first from the second, we get:

1727 a + 143 b + 11 c = 2068 157 a + 13 b + c = 188 1727a+143b+11c=2068 ~~~ \Longrightarrow ~ 157a+13b+c=188

Since a , b , c , d a,b,c,d are positive integers, clearly a = 1 a=1 . Since b 9 b\le 9 , we have ( b , c ) = ( 2 , 5 ) (b,c)=(2,5) . Substituting back into the previous equation, we have d = 4 d=4 . And so:

f ( x ) = x 3 + 2 x 2 + 5 x + 4 f(x)=x^3+2x^2+5x+4

Giving our desired answer:

f ( 10 ) = 1 254 f(10) = 1\fbox{254}

Another method:

From the equation 1728 a + 144 b + 12 c + d = 2080 1728a+144b+12c+d=2080 , we can take both sides of the equation mod 12 to get d 4 ( m o d 12 ) d \equiv 4 \pmod {12} , which would imply d = 4 d=4 .

Using the same equation again, we have 1728 a + 144 b + 12 c = 2076 1728a+144b+12c=2076 , and dividing by 12 12 yields 144 a + 12 b + c = 173 144a+12b+c=173 , from which we can find c = 5 c=5 .

Apply the same concept 2 more times to find a = 1 , b = 2 a=1, b=2 , and the answer follows.

minimario minimario - 7 years, 5 months ago

Yeah, that's how you convert bases.

Cody Johnson - 7 years, 5 months ago
Jake Lai
Jan 12, 2015

I did a pretty tedious (but foolproof) method that doesn't require finding out the degree:

Notice that f ( 12 ) f ( 1 ) = 2068 f(12)-f(1) = 2068 eliminates the constant term a 0 a_{0} , and every term is of the form a k ( 1 2 k 1 ) = 11 a k ( 1 2 k 1 + 1 2 k 2 + + 12 + 1 ) a_{k}(12^{k}-1) = 11a_{k}(12^{k-1}+12^{k-2}+\ldots+12+1)

Dividing 2068 by 11 gives 188. Since all the terms have ( 1 2 k 1 + 1 2 k 2 + + 12 + 1 ) (12^{k-1}+12^{k-2}+\ldots+12+1) as a factor, 188 a n + a n 1 + + a 1 8 ( m o d 12 ) 188 \equiv a_{n}+a_{n-1}+\ldots+a_{1} \equiv 8 \pmod{12}

Hence, a 0 = 12 ( a n + a n 1 + + a 1 ) = 4 a_{0} = 12-(a_{n}+a_{n-1}+\ldots+a_{1}) = 4 .

Using the same method twice (but being careful to subtract ( a k x k + a k 1 x k 1 + + a 1 x + a 0 ) (a_{k}x^{k}+a_{k-1}x^{k-1}+\ldots+a_{1}x+a_{0}) and divide by x k x^{k} for each f ( x ) f(x) ), we get a 0 = 4 , a 1 = 5 , a 2 = 2 \boxed{a_{0} = 4, a_{1} = 5, a_{2} = 2} . The terms a k x k a_{k}x^{k} when x = 10 x = 10 and k 3 k \geq 3 are 0 ( m o d 1000 ) \equiv 0 \pmod{1000} and so we only need to know the aforementioned coefficients.

Thus, f ( 10 ) 100 a 2 + 10 a 1 + a 0 254 ( m o d 1000 ) f(10) \equiv 100a_{2}+10a_{1}+a_{0} \equiv \boxed{254} \pmod{1000}

Jason Martin
Mar 12, 2015

Let f ( x ) = a n x n + . . . + a 1 x + a 0 f(x)=a_n \cdot x^{n}+ ...+a_1 \cdot x +a_0 . Since d e g ( f ) > 0 deg(f) >0 , we know 1 a i 11 1 \leq a_i \leq 11 For all i i . Now f ( 12 ) = a 0 = 2080 = 4 f(12)=a_0 =2080=4 mod 12 12 , so a 0 = 4 a_0=4 . Similarly f ( 12 ) 4 12 = 2076 12 = 173 = 5 \frac {f(12)-4}{12} = \frac {2076}{12} =173=5 mod 12 12 , so a 1 = 5 a_1=5 , and f ( 12 ) ( 5 12 + 4 ) 1 2 2 = 2016 144 = 14 = 2 \frac {f(12)-(5 \cdot 12 +4)}{12^2}=\frac{2016}{144}=14=2 mod 12 12 , so a 2 = 2 a_2=2 . Therefore, f ( 10 ) = 100 a 2 + 10 a 1 + a 0 f(10)=100a_2+10a_1+a_0 mod 1000 = 254 1000 =\boxed{254} mod 1000 1000 .

Side note: Doing one more coefficient gives a 3 = 1 a_3=1 , and since a 3 + a 2 + a 1 + a 0 = 1 + 2 + 5 + 4 = 12 a_3+a_2+a_1+a_0=1+2+5+4=12 , we must have no more coefficients, so f ( x ) = x 3 + 2 x 2 + 5 x + 4 f(x)=x^3+2x^2+5x+4 .

Sadman Sakib
Jan 5, 2014

Let’s start by finding the degree of the polynomial . As, f ( 1 ) = 12 f(1) = 12 , the sum of the coefficients is 12 12 .Since each of them are positive , all the coefficients are less than 12 12 . We have f ( 12 ) = 2080 f(12) = 2080 and 1 2 3 = 1728 12^3 = 1728 .Then, without doubt the polynomial is a degree 3 3 polynomial (otherwise one of the coefficients have to be negative or greater than 12 12 ) .So, a 1 2 3 + b 1 2 2 + c 12 + d = 2080 a\cdot12^3 + b \cdot 12^2 + c \cdot 12 + d = 2080 .

This implies that a = 1 a = 1 and by similar argument b = 2 b = 2 . Thus we are left with 12 c + d = 64 12c + d = 64 and c + d = 9 c+d = 9 . Solving these two equations, we get c = 5 c = 5 and d = 4 d = 4 . Finally, we are done with coefficients .So, f ( 10 ) = 1000 + 200 + 50 + 4 = 1254 f(10) = 1000 +200 + 50 + 4 = 1254 ,hence the answer is 254 \boxed{254} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...