Let P ( x ) be a polynomial with non-negative integer coefficients. If P ( 1 ) = 6 and P ( 5 ) = 4 2 6 , find P ( 3 ) .
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.
The coefficients sum up to be 6 , because P ( 1 ) = 6 .
Since P ( 5 ) would be a 0 ( 5 0 ) + a 1 ( 5 1 ) + a 2 ( 5 2 ) + a 3 ( 5 3 ) + ⋯ , let us express 4 2 6 in base-5.
4 2 6 1 0 = 3 2 0 1 5 , which satisfy that the digit sum is 6 .
Therefore P ( x ) = 3 x 3 + 2 x 2 + 1 .
Bases: Number Base - Converting to Different Bases
For completeness, you need to justify why there is only that one solution. In particular, it is tricky (not as straightforward as you think it is) because P ( 1 ) > 5 .
See my threaded comment for why it is incomplete.
Log in to reply
Why is it tricky ? I still don't get why his solution is incomplete ?
Log in to reply
The incomplete step is going from just P ( 5 ) = 4 2 6 = a 0 × 5 0 + a 1 × 5 1 + … ⇒ P ( x ) = a 0 + a 1 x + … . This is mainly because the representation is not unique , and so for each representation, that gives us a possible polynomial to try. For example, P ( 5 ) = 4 2 6 = 6 × 5 0 + 4 × 5 1 + 1 × 5 2 + 3 × 5 3 , but P ( x ) = 6 + 4 x + 1 x 2 + 3 x 3 .
We do need the fact that P ( 1 ) = 6 and that the coefficients are non-negative, to narrow down the polynomial more. See Niranjan's solution for the steps to properly do this.
As an explicit example, can you find 2 polynomials with non-negative coefficients that satisfy P ( 1 ) = 7 and P ( 5 ) = 6 5 1 = 1 0 1 0 1 5 ?
If however, we had
P
(
1
)
<
5
, then because (and this is the added justification of the incomplete step) we know that the individual coefficients have to be less than 5, hence the base 5 representation is the
unique
way to do so, and so we can draw the conclusion immediately.
E.g. If we had 1) coefficients are non-negative, 2)
P
(
1
)
=
4
, 3)
P
(
5
)
=
4
2
4
, then this approach works (because of my justification.)
Log in to reply
@Calvin Lin – Your polynomial in the first half of the claim is wrong but I get your point
@Calvin Lin – @Kenny Lau Just in case you didn't get this previously.
Problem Loading...
Note Loading...
Set Loading...
5 4 = 6 2 5 > 4 2 6 . So the degree P(x) can not be 4. P ( 5 ) = 4 2 6 , a n d 5 3 = 1 2 5 , 5 2 = 2 5 , 5 1 = 5 , so the constant must be at least 1. But the constant term can be 1 or 6 only. Since P(1)=6, the constant term is only 1. Now in P(5) we are left with 425 with remaining coefficient add to 5. 5 ∗ 5 2 consumes all coefficients but P(5)=126 only . S o o n l y 5 3 s u p p l i e s t h e b u l k o f 4 2 5 . 3 ∗ 5 3 m u s t s u p p l y 3 7 5 . Remaining 50 is supplied by 2 ∗ 5 2 . L e t u s s e e w h a t w e h a v e g o t . P ( x ) = 3 x 3 + 2 x 2 + 1 . P ( 5 ) = 3 ∗ 5 3 + 2 ∗ 5 2 + 1 = 4 2 6 , a n d P ( 1 ) = 6 , S o P ( 3 ) = 3 ∗ 3 3 + 2 ∗ 3 2 + 1 = 1 0 0