Polynomial collections!

Let P ( x ) P(x) be a polynomial such that the co-efficients of P ( x ) P(x) are integers from 0 0 to 24 24 and P ( 5 ) = 1500 P(5) = 1500 . Find the total number of such polynomials.


The answer is 301.

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.

2 solutions

Eddie The Head
Jun 11, 2014

Clearly 5 5 > 1500 5^{5} > 1500 .

So at most P ( x ) 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(x) = a_4x^{4}+a_3x^{3}+a_2x^{2}+a_1x+a_0 P ( 5 ) = a 4 5 4 + a 3 5 3 + a 2 5 2 + a 1 5 + a 0 P(5) = a_4*5^{4}+a_3*5^{3}+a_2*5^{2}+a_1*5+a_0 1500 = ( a 4 5 4 + a 2 5 2 + a 0 ) + 5 ( a 3 5 2 + a 1 ) 1500 = (a_4*5^{4}+a_2*5^{2}+a_0) + 5(a_3*5^{2}+a_1) 1500 = c + 5 d 1500 = c + 5d

Now clearly c c and d d are integers valid in the base 25,ie,they are a number between 0 0 and 24 24 .Hence we can say that there is a bijection between the number of solutions { c , d } \{c,d\} and the number of such polynomials possible.

The value of d can clearly range between 0 0 and 300 300 .and for each value of c there will be corresponding value of d.

Therefore the total number of such polynomials is 300 + 1 = 301 300+1 = \boxed{301} .

Note: \textbf{Note:} You can arrive at the same solution using generating functions also.

Credits: \textbf{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 :(.

This problem was inspired by an old Brilliant problem

'Inspired' is not the word I would use here.

Mursalin Habib - 7 years ago

Infinite solutions are possible if 0 is a coefficient.

0. x n + 0. x n 1 + . . . + 0. x 2 + 0. x + 1500 0.x^n +0.x^{n-1}+ ... + 0.x^2 + 0.x + 1500

Vinay Sipani - 7 years ago

Log in to reply

May I knoe how that leads to infinite solutions? It leads to one solution only whuch id P (x)=1500.

Eddie The Head - 7 years ago

Log in to reply

0 x 2 + 1500 0x^2+1500 and 0 x + 1500 0x+1500 are same as 1500 but there is a change in the degree of equations.

Vinay Sipani - 7 years ago

Log in to reply

@Vinay Sipani So by your logic any polynomial can be interpreted to have arbitrary degree right?

Eddie The Head - 7 years ago

Log in to reply

@Eddie The Head If 1x^n+1 is a polynomial then 0x^n+1 is also a polynomial.

Vinay Sipani - 7 years ago
Jubayer Nirjhor
Jun 11, 2014

P ( x ) Z [ x ] P(x)\in \mathbb{Z}[x] and 5 5 > 1500 > 5 4 5^5 > 1500 > 5^4 . So deg P 4 \deg{P} \le 4 . Set P ( x ) = k = 0 4 a k x k P(x)=\sum_{k=0}^4 a_k x^k . Then we have 1500 = P ( 5 ) = 625 a 4 + 125 a 3 + 25 a 2 + 5 a 1 + a 0 1500=P(5)=625a_4 +125a_3+25a_2 +5a_1+a_0

Note that each unique solution ( a 0 , a 1 , a 2 , a 3 , a 4 ) N 0 5 (a_0,a_1,a_2,a_3,a_4)\in\mathbb{N}_0^5 to the above equation yields a unique polynomial. Note that now 0 a 4 2 0\le a_4\le 2 , 0 a 3 12 0\le a_3\le 12 , 0 a 2 , a 1 , a 0 24 0\le a_2,a_1,a_0\le 24 . We want the coefficient of x 1500 x^{1500} in the expansion of the generating function k = 0 2 x 625 k k = 0 12 x 125 k k = 0 24 x 25 k k = 0 24 x 5 k k = 0 24 x k = x 1875 1 x 625 1 x 1625 1 x 125 1 x 625 1 x 25 1 x 125 1 x 5 1 x 25 1 x 1 = ( x 1875 1 ) ( x 1625 1 ) ( x 5 1 ) ( x 1 ) = ( x 5 ) 375 1 x 5 1 x 1625 1 x 1 = k = 0 374 x 5 k k = 0 1624 x k \begin{aligned} &~&\sum_{k=0}^{2} x^{625k} \sum_{k=0}^{12} x^{125k} \sum_{k=0}^{24} x^{25k} \sum_{k=0}^{24} x^{5k} \sum_{k=0}^{24} x^k \\ &=& \dfrac{x^{1875}-1}{x^{625}-1}\cdot\dfrac{x^{1625}-1}{x^{125}-1}\cdot \dfrac{x^{625}-1}{x^{25}-1}\cdot \dfrac{x^{125}-1}{x^{5}-1}\cdot \dfrac{x^{25}-1}{x-1} \\ &=& \dfrac{(x^{1875}-1)(x^{1625}-1)}{(x^5-1)(x-1)} \\ &=& \dfrac{(x^5)^{375}-1}{x^5-1} \cdot \dfrac{x^{1625}-1}{x-1} \\ &=& \sum_{k=0}^{374} x^{5k} \sum_{k=0}^{1624} x^k \\ \end{aligned} And the last expression is the generating function of finding the number of non-negative integer solutions to the equation a + 5 b = n a+5b=n . Setting n = 1500 n=1500 and bounding 0 b 300 0\le b\le 300 , we have total 301 \fbox{301} solutions.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...