Let P ( x ) be a polynomial such that the co-efficients of P ( x ) are integers from 0 to 2 4 and P ( 5 ) = 1 5 0 0 . Find the total number of such polynomials.
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.
See here: Plentiful Pile of Polynomials
This problem was inspired by an old Brilliant problem
'Inspired' is not the word I would use here.
Infinite solutions are possible if 0 is a coefficient.
0 . x n + 0 . x n − 1 + . . . + 0 . x 2 + 0 . x + 1 5 0 0
Log in to reply
May I knoe how that leads to infinite solutions? It leads to one solution only whuch id P (x)=1500.
Log in to reply
0 x 2 + 1 5 0 0 and 0 x + 1 5 0 0 are same as 1500 but there is a change in the degree of equations.
Log in to reply
@Vinay Sipani – So by your logic any polynomial can be interpreted to have arbitrary degree right?
Log in to reply
@Eddie The Head – If 1x^n+1 is a polynomial then 0x^n+1 is also a polynomial.
P ( x ) ∈ Z [ x ] and 5 5 > 1 5 0 0 > 5 4 . So de g P ≤ 4 . Set P ( x ) = ∑ k = 0 4 a k x k . Then we have 1 5 0 0 = P ( 5 ) = 6 2 5 a 4 + 1 2 5 a 3 + 2 5 a 2 + 5 a 1 + a 0
Note that each unique solution ( a 0 , a 1 , a 2 , a 3 , a 4 ) ∈ N 0 5 to the above equation yields a unique polynomial. Note that now 0 ≤ a 4 ≤ 2 , 0 ≤ a 3 ≤ 1 2 , 0 ≤ a 2 , a 1 , a 0 ≤ 2 4 . We want the coefficient of x 1 5 0 0 in the expansion of the generating function = = = = k = 0 ∑ 2 x 6 2 5 k k = 0 ∑ 1 2 x 1 2 5 k k = 0 ∑ 2 4 x 2 5 k k = 0 ∑ 2 4 x 5 k k = 0 ∑ 2 4 x k x 6 2 5 − 1 x 1 8 7 5 − 1 ⋅ x 1 2 5 − 1 x 1 6 2 5 − 1 ⋅ x 2 5 − 1 x 6 2 5 − 1 ⋅ x 5 − 1 x 1 2 5 − 1 ⋅ x − 1 x 2 5 − 1 ( x 5 − 1 ) ( x − 1 ) ( x 1 8 7 5 − 1 ) ( x 1 6 2 5 − 1 ) x 5 − 1 ( x 5 ) 3 7 5 − 1 ⋅ x − 1 x 1 6 2 5 − 1 k = 0 ∑ 3 7 4 x 5 k k = 0 ∑ 1 6 2 4 x k And the last expression is the generating function of finding the number of non-negative integer solutions to the equation a + 5 b = n . Setting n = 1 5 0 0 and bounding 0 ≤ b ≤ 3 0 0 , we have total 3 0 1 solutions.
Problem Loading...
Note Loading...
Set Loading...
Clearly 5 5 > 1 5 0 0 .
So at most P ( x ) can be a polynomial of fourth degree.
P ( x ) = a 4 x 4 + a 3 x 3 + a 2 x 2 + a 1 x + a 0 P ( 5 ) = a 4 ∗ 5 4 + a 3 ∗ 5 3 + a 2 ∗ 5 2 + a 1 ∗ 5 + a 0 1 5 0 0 = ( a 4 ∗ 5 4 + a 2 ∗ 5 2 + a 0 ) + 5 ( a 3 ∗ 5 2 + a 1 ) 1 5 0 0 = c + 5 d
Now clearly c and d are integers valid in the base 25,ie,they are a number between 0 and 2 4 .Hence we can say that there is a bijection between the number of solutions { c , d } and the number of such polynomials possible.
The value of d can clearly range between 0 and 3 0 0 .and for each value of c there will be corresponding value of d.
Therefore the total number of such polynomials is 3 0 0 + 1 = 3 0 1 .
Note: You can arrive at the same solution using generating functions also.
Credits: This problem was inspired by an old Brilliant problem and this solution approach is not mine,someone else did this on the old version of the problem half a year ago..I wish I could remember his name :(.