Plentiful Pile of Polynomials

How many polynomials P ( x ) P(x) are there such that the coefficients of P ( x ) P(x) are integers from 0 to 24 (inclusive) and P ( 5 ) = 1200 P(5) = 1200 ?


The answer is 241.

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.

7 solutions

Logan Dymond
Nov 3, 2013

Our polynomial is P ( x ) = a 0 + a 1 x + a 2 x 2 + P(x)=a_0+a_1x+a_2x^2+\dots such that for each a i a_i we have 0 a i 24 0 \leq a_i \leq 24 . We are looking for polynomials such that P ( 5 ) = a 0 + a 1 5 + a 2 25 + = 1200 P(5)=a_0+a_1 5+a_2 25+\dots=1200 . This problem is equivalent to finding the number of unordered partitions of 1200 into parts of size 5 k 5^k for some non-negative integer k k such that each part occurs no more than 24 times. We proceed with generating functions.

The Generating function for parts of size n n that don't appear more than 24 times is 1 + x n + x 2 n + + x 24 n 1+x^n+x^{2n}+\dots+x^{24n} , which we can rewrite as

x 25 n 1 x n 1 \frac{x^{25n}-1}{x^n-1}

Thus, we are looking for the coefficient of x 1200 x^{1200} in

x 25 × 1 1 x 1 1 x 25 × 5 1 x 5 1 x 25 × 25 1 x 25 1 x 25 × 125 1 x 125 1 \frac{x^{25\times 1}-1}{x^1-1}\frac{x^{25\times 5}-1}{x^5-1}\frac{x^{25\times 25}-1}{x^{25}-1}\frac{x^{25\times 125}-1}{x^{125}-1}\cdots

Notice that the numerator of the n t h n^{th} term cancels with the denominator of the ( n + 2 ) t h (n+2)^{th} term, so we are left with

x 25 × 5 k 1 x 1 1 x 25 × 5 × 5 k 1 x 5 1 \frac{x^{25\times 5^k}-1}{x^1-1}\frac{x^{25\times 5\times 5^k}-1}{x^5-1}

as k k\to\infty .

This is the same as

( 1 + x + x 2 + ) ( 1 + x 5 + x 25 + ) (1+x+x^2+\dots)(1+x^5+x^{25}+\dots)

Since we want to find the coefficient of x 1200 x^{1200} in the previous expression, our problem now is to find the number of ordered pairs ( a , b ) (a,b) such that a + 5 b = 1200 a+5b=1200 , which is far easier to work with.

Since each choice for b b uniquely determines a valid a a and we can choose b b on [ 0 , 240 ] [0,240] , we have 241 solutions, and as a result, 241 distinct polynomials P ( x ) P(x) . So our answer is 241 \boxed{241}

Can you explain how you came up with the generating function? (As in I don't really understand what that function represents) Thanks!

Fan Zhang - 7 years, 7 months ago

Log in to reply

Let's say we want to make a sum of 10 10 using exactly one element from each of the following two sets: { 2 , 3 , 6 , 7 } \{2, 3, 6, 7\} and { 3 , 4 , 5 , 8 } \{ 3, 4, 5, 8\} .

Consider the two polynomials x 2 + x 3 + x 6 + x 7 x^2 + x^3 + x^6 + x^7 and x 3 + x 4 + x 5 + x 8 x^3 + x^4 + x^5 + x^8 . Note that the coefficient of x n x^n is the number of ways of making a sum of n n using one element from the first set for the first polynomial, and similarly for the second. The coefficient of x 4 x^4 in the second polynomial is 1 1 , and there is 1 1 way of making a sum of 4 4 using only one element from the second set.

Now consider the product of the polynomials: ( x 2 + x 3 + x 6 + x 7 ) ( x 3 + x 4 + x 5 + x 8 ) (x^2 + x^3 + x^6 + x^7) (x^3 + x^4 + x^5 + x^8)

Before we expand it out, let us consider what the coefficient of x n x^n means in this new polynomial: it represents the number of ways of making a sum of n n taking exactly one number from each set. Let us expand it out: ( x 2 + x 3 + x 6 + x 7 ) ( x 3 + x 4 + x 5 + x 8 ) (x^2 + x^3 + x^6 + x^7) (x^3 + x^4 + x^5 + x^8) = x 5 + 2 x 6 + 2 x 7 + x 8 + x 9 + 3 x 10 + 3 x 11 + x 12 + x 14 + x 15 = x^5+2 x^6+2 x^7+x^8+x^9+3 x^{10}+3 x^{11}+x^{12}+x^{14}+x^{15}

Note that the coefficient of x n x^n is 0 0 for n > 15 n > 15 , since we cannot make a sum greater than 15 15 using one from each set. The same goes for n < 5 n < 5 .

When n = 10 n = 10 , the coefficient is 3 3 . This means that there are 3 3 ways of making 10 10 . If we had expanded the product fully using the distributive formula, we would see that the three x 10 x^{10} terms came from the products of x 2 x^2 with x 8 x^8 , x 6 x^6 with x 4 x^4 , and x 7 x^7 with x 3 x^3 .

The idea of attaching meaning the coefficient of x n x^n without attaching any meaning at all to x x is the idea of a generating function. Generating functions are simply polynomials in this meaningless x x , finite or infinite, for which the interesting part is the coefficients.

Although they were unhelpful in this case, since we could have simply counted the number of ways of making 10 10 by inspection, they are incredibly more useful if the polynomials may be expressed in a more compact form (such as using the geometric series sum), and then multiplication may lead to cancellation and an easier calculation, as Logan D. so beautifully demonstrated here.

Alexander Bourzutschky - 7 years, 7 months ago

Log in to reply

Thank you, I understand the generating functions now :) But I am still confused on the part x 25 × 5 k 1 x 1 1 x 25 × 5 × 5 k 1 x 5 1 \frac{x^{25 \times 5k} - 1}{x^{1} - 1}\frac{x^{25 \times 5 \times 5k} - 1}{x^{5} - 1} . Why is there an addition of 5 k 5k now from the previous equation? Also, how is the above expression same as ( 1 + x + x 2 + . . . ) ( 1 + x 5 + x 25 + . . . ) (1+ x + x^{2} +...) (1+ x^{5} + x^{25} + ...) ? Thanks!

Fan Zhang - 7 years, 7 months ago

Log in to reply

@Fan Zhang The genfunc for each part looks like 1 + x n + x 2 n + + x 24 n 1 + x^n + x^{2n} + \cdots + x^{24 n} , which is rewritten as a quotient of polynomials. The parts all have n n equal to a power of 5 5 , since P ( x ) P(x) 's coefficients are being multiplied by powers of 5 5 . Notice, however, that there are infinitely many parts: we may have up to 24 24 of any positive power (even if it is clear that we cannot have 5 5 5^5 , all that means is that that part of the genfunc will contribute 1 1 and a bunch of terms well above 1200 1200 ).

This infinite product of polynomials has the following form: ( a 1 x 1 ) ( a 2 x 5 1 ) ( a 3 a 1 ) ( a 4 a 2 ) \left(\frac{a_1}{x - 1}\right) \left(\frac{a_2}{x^5 - 1}\right) \left(\frac{a_3}{a_1}\right) \left(\frac{a_4}{a_2}\right) \cdots

Note the massive cancellation: if we were to halt this sum when the numerator is a n a_n , then all numerators but a n 1 a_{n - 1} and a n a_n would cancel with all denominators but x 1 x - 1 and x 5 1 x^5 - 1 .

Since the infinite limit is the same as taking the finite case extended infinitely, it is simply the terms a k a_k and a k + 1 a_{k + 1} (evidently he used k k instead of n n for indexing here) divided by the first denominators, in the limit as k k goes to infinity! The k k came from showing how the product would look like in the finite case; it is an intermediate step.

Before taking that limit, the quotient would represent the product of finite geometric series with common ratios x x and x 5 x^5 . In the infinite limit, the quotients become infinite geometric series. The second polynomial seems like it should be multiples of 5 5 , not powers of 5 5 . I believe that was an error in uploading the solution instead of finding it, since his statement immediately afterward implies that he is adding multiples of 1 1 and 5 5 , not multiples of 1 1 and powers of 5 5 .

Hope this helps.

Alexander Bourzutschky - 7 years, 7 months ago

Log in to reply

@Alexander Bourzutschky Great explanation! Would you be interested in converting your comments into a writeup which we can post on the techniques page?

Calvin Lin Staff - 7 years, 7 months ago

Log in to reply

@Calvin Lin It is a great honor, but I don't feel that comfortable making a full writeup of it all. You may take my words freely, if you wish.

Alexander Bourzutschky - 7 years, 7 months ago

@Alexander Bourzutschky Thank you Alexander B.! :) your explanation really clear things up for me :)

Fan Zhang - 7 years, 7 months ago

@Alexander Bourzutschky Oh thank you so much for clearing up my mistake (As well as the wonderful write up, I'm not surprised in the least that the staff is offering you the opportunity to formally publish a write up.)

But yes, it should have read ( 1 + x + x 2 + x 3 + . . . ) ( 1 + x 5 + x 10 + x 15 + . . . ) (1+x+x^2+x^3+...)(1+x^5+x^{10}+x^{15}+...) This is because we know we can factorize x n 1 x^n-1 into ( x 1 ) ( 1 + x + x 2 + . . . + x n 1 ) (x-1)(1+x+x^2+...+x^{n-1}) If we divide both sides by ( x 1 ) (x-1) and replace x x with x 5 x^5 we see that x 5 n 1 x 5 1 = 1 + x 5 + x 10 + . . . + x 5 ( n 1 ) \frac{x^{5n}-1}{x^5-1}=1+x^5+x^{10}+...+x^{5(n-1)} By taking n n\to\infty we arrive at the infinite sum 1 + x 5 + x 10 + . . . 1+x^5+x^{10}+...

Logan Dymond - 7 years, 7 months ago

Excellent explanation! Thank you!

Logan Dymond - 7 years, 7 months ago
Matt McNabb
Nov 4, 2013

Since 5 5 > 1200 5^5 \gt 1200 we only need to consider polynomials of degree at most 4 4 .

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, and then set x = 5 x=5 and rearrange.

We can write P ( 5 ) = 1200 P(5) = 1200 as 1200 = ( a 4 2 5 2 + a 2 25 + a 0 ) + 5 ( a 3 25 + a 1 ) = c + 5 d \begin{aligned} 1200 &= (a_4 25^2 + a_2 25 + a_0) + 5(a_3 25 + a_1) \\ &= c + 5d \end{aligned}

where c c represented in base 25 25 has digits a 4 a 2 a 0 a_4a_2a_0 , and d d has digits a 3 a 1 a_3a_1 .

So there is a bijection between pairs { c , d } \{c,d\} and polynomials P P with coefficients that are valid digits in base 25 25 .

Since d d can range from 0 0 to 240 240 , and for each d d there is exactly one c c such that 1200 = c + 5 d 1200 = c + 5d , there are 241 \boxed{241} possible polynomials.

Ingenious. I'm completely flattered.

Mirza Baig - 7 years, 7 months ago

What's the motivation for using base 25 and finding the bijection?

minimario minimario - 7 years, 7 months ago

Log in to reply

It occurred to me when all the coefficients were restricted to being 0-24, and bearing in mind that the place-value system is a polynomial that can go on forever in both directions

Matt McNabb - 7 years, 7 months ago

Log in to reply

What do you mean by

the place-value system is a polynomial that can go on forever in both directions ?

Happy Melodies - 7 years ago

WOW!!!

Rindell Mabunga - 7 years, 7 months ago

Typo noticed just after submitting (as usual!), a 2 a^2 should read a 2 a_2 .

Also, I could have added an extra line of working before my first line: 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 , and then set x = 5 x=5 and rearrange.

Matt McNabb - 7 years, 7 months ago

Log in to reply

Updated. Please check.

Calvin Lin Staff - 7 years, 7 months ago

Log in to reply

Thanks. The language could probably read a bit more smoothly , e.g. take out the "We can write" line, but I'm sure everyone reading it will understand.

Matt McNabb - 7 years, 7 months ago

Nice!

Peter Byers - 7 years, 7 months ago

Genius

Hao Tian Lee - 7 years, 7 months ago

How will u prove that fir that value of c , ur coefficients will have integral solution and that too unique

Avinash Iyer - 7 years, 7 months ago

Log in to reply

Are you asking how to get the a i a_i values from the c c ? If so then you write c c in base 25. My solution relies on the fact there is a unique way to write an integer in a given base.

Just to pick a random example, let's say d = 39 d = 39 . Then c = 1005 c = 1005 . Writing those in base 25 are { 1 , 14 } \{1,14\} and { 1 , 15 , 5 } \{1,15,5\} respectively. So the polynomial is ( x 4 + 15 x 2 + 5 ) + ( x 3 + 14 x ) (x^4 + 15x^2 + 5) + (x^3 + 14x) .

Matt McNabb - 7 years, 7 months ago

What happens when d is negative? Isn't "d = -1, c = 1205" also a solution?

Pranav Prakash - 7 years, 7 months ago

Log in to reply

That would require 25 a 3 + a 1 = 1 25a_3 + a_1 = -1 which would mean a negative coefficient. But they were specified as being in the range 0 to 24.

Matt McNabb - 7 years, 7 months ago

How is the maximum value of d d equal to 240 240 ?

Snehal Shekatkar - 7 years, 6 months ago

Log in to reply

Because c + 5 d = 1200 c + 5d = 1200 and c , d c,d are non-negative integers. If d = 240 d =240 then c = 0 c=0 , and of d > 240 d \gt 240 there is no value for c c .

They are non-negative because they are equal to polynomials with non-negative coefficients and 5 5 as the parameter.

Matt McNabb - 7 years, 6 months ago

Log in to reply

Thank you.. :)

Snehal Shekatkar - 7 years, 6 months ago

What does valid in the base 25 mean??

Eddie The Head - 7 years, 6 months ago

Log in to reply

By "valid digit in base 25" I mean a value from 0 to 24. (similar to how 0-9 are the digits in base 10).

Matt McNabb - 7 years, 6 months ago

Log in to reply

Thanks!!!A really nice solution!!!

Eddie The Head - 7 years, 6 months ago

Can you explain why you only need to count d and not c? Ie why there is only 1 c for every d??

Olivier Molliés - 4 years, 9 months ago
Peter Byers
Nov 6, 2013

Write P ( x ) P(x) as

P ( x ) = k = 0 ( a k + 5 b k ) x k P(x)= \sum_{k=0}^\infty (a_k+5b_k)x^k

for some sequences a k , b k { 0 , 1 , 2 , 3 , 4 } a_k,b_k \in \{0,1,2,3,4\} (only finitely many of which are non-zero). Then P ( 5 ) = 1200 P(5)=1200 means that a 0 = 0 a_0=0 and

240 = k = 1 a k 5 k 1 + k = 0 b k 5 k 240= \sum_{k=1}^\infty a_k 5^{k-1} + \sum_{k=0}^\infty b_k 5^k

Now notice that for each N { 0 , 1 , . . . , 240 } N \in \{0,1,...,240\} the equations:

k = 1 a k 5 k 1 = N \sum_{k=1}^\infty a_k 5^{k-1} =N

k = 0 b k 5 k = 240 N \sum_{k=0}^\infty b_k 5^k =240-N

each have one unique solution. (Just consider the base- 5 5 representations of N N and 240 N 240-N .) Hence, the total number of polynomials is { 0 , . . . , 240 } = 241 |\{0,...,240\}|=241 .

Very nice. This establishes the x + 5 y = 1200 x + 5y = 1200 bijection easily.

Calvin Lin Staff - 7 years, 7 months ago

Log in to reply

Thanks!

Peter Byers - 7 years, 7 months ago
Aleksejs Popovs
Nov 4, 2013

When speaking of a polynomial P P , let's denote its coefficients with p i p_i . Let's denote the number of polynomials P ( x ) P(x) such that P ( 5 ) = a P(5) = a with C ( a ) C(a) . Obviously, for 0 a < 5 0 \le a < 5 , C ( a ) = 1 C(a) = 1 (the only such polynomial is P ( x ) = a P(x) = a ).

For a > 5 a > 5 , 5 ( P ( 5 ) p 0 ) 5 \mid (P(5) - p_0) , therefore P ( 5 ) p 0 m o d 5 P(5) \equiv p_0 \mod{5} . Hence, C ( a ) = 0 i 24 w h e r e i a m o d 5 C ( a i 5 ) C(a) = \sum_{0 \le i \le 24\ where\ i \equiv a \mod{5}} C(\frac{a - i}{5}) (such polynomials have form P ( x ) = i + x P ( x ) P(x) = i + x * P^\prime(x) ).

Using this, we can easily calculate pretty much any value of C C . Here are the ones we need:

C ( 5 ) = C ( 5 0 5 ) + C ( 5 5 5 ) = C ( 0 ) + C ( 1 ) = 2 C(5) = C(\frac{5 - 0}{5}) + C(\frac{5 - 5}{5}) = C(0) + C(1) = 2

C ( 6 a 9 ) = C ( 0 ) + C ( 1 ) = 2 C(6 \leq a \leq 9) = C(0) + C(1) = 2

C ( 43 ) = C ( 44 ) = C ( 8 ) + C ( 7 ) + C ( 6 ) + C ( 5 ) + C ( 4 ) = 9 C(43) = C(44) = C(8) + C(7) + C(6) + C(5) + C(4) = 9

C ( 45 ) = C ( 46 ) = C ( 47 ) = C ( 9 ) + C ( 8 ) + C ( 7 ) + C ( 6 ) + C ( 5 ) = 10 C(45) = C(46) = C(47) = C(9) + C(8) + C(7) + C(6) + C(5) = 10

C ( 236 a 239 ) = C ( 47 ) + C ( 46 ) + C ( 45 ) + C ( 44 ) + C ( 43 ) = 49 C(236 \leq a \leq 239) = C(47) + C(46) + C(45) + C(44) + C(43) = 49

C ( 240 ) = C ( 48 ) + C ( 47 ) + C ( 46 ) + C ( 45 ) + C ( 44 ) = 49 C(240) = C(48) + C(47) + C(46) + C(45) + C(44) = 49

C ( 1200 ) = C ( 240 ) + C ( 239 ) + C ( 238 ) + C ( 237 ) + C ( 236 ) = 241 C(1200) = C(240) + C(239) + C(238) + C(237) + C(236) = \boxed{241}

Ashish Pathak
Nov 6, 2013

We know that maximum degree of polynomial can be 4 and minimum 3...Let the polynomial be ax^4 + bx^3 + cx^2 + dx+e.(e is always 0,5,10,15 or 20) With this in the mind we do it for two cases.. first one when degree=4 that is. a=1 then 125b+25c+5d+e=575(for x=5)
now keeping b=0,1,2,3,4 we get 25c+5d+e=575,450,325,200,75 respectively.
now taking each case individually . we get total (25+25+25+25+16) =116 solutions.
Which can be obtained easily. As we know that maximum value of 5d+e can be 125 only as it has to be a multiple of 25 (so it cant be 130 to 140) taking maximum value of c=23 then 5d+e=0 , similarly for (c=22 to 18) 5d+e varies from 125 to 25. for 5d+e=125(for d,e=(24,5),(23,10),(22,15),(21.20) . for 5d+e=100(d,e=(20,0),19,5),(18,10),(17,15),(16,20) . similarly for 5d+e=(75,50,25) gives 5 solutions each.
which in total giving (5into4 +4 +1=25) solutions.. similarly for b=1,2,3,4 25c+5d+e=450,325,200 gives 25 solutions each. and for last case 75 gives16 solutions . as 5d+e=75,50,25 only.. each giving 5 solutions like before. and 1 more comes when 5d+e=0.totaling 5into3+1=16 solutions so in total (25+25+25+25+16) =116 solutions.



now for case two we keep a=0 and degree 3 then minimum value of b=4 as 25c+5d+e has maximum value 744.. so for b=4 25c+5d+e=700 for c=23 5d+e=125 has 4 solutions and c=22 5d+e=100 gives 5 solutions.. and now for b=5 25c+5d+e=575 same as case 1 which gives again 116 solutions. so in all we have 116into2 +5+4=241 solutions..

Aditya Parson
Nov 4, 2013

First observe that the degree of P ( x ) P(x) is either 3 3 or 4 4 . Case 1: Let P ( x ) = a x 3 + b x 2 + c x + d P(x)=ax^3+bx^2+cx+d where a , b , c , d a,b,c,d lie in the given range, and a 0 a \neq 0 .

P ( 5 ) = 1200 = 25 48 = 125 a + 25 b + 5 c + d P(5)=1200=25 \cdot 48=125a+25b+5c+d

We note that since LHS is a multiple of 25 25 so must be LHS. Thus, it follows that 5 c + d 5c+d must be a multiple of 25 25 . 0 5 c + d 144 0 \leq 5c+d \leq 144 5 c + d ( 0 , 25 , 50 , 75 , 100 , 125 ) \Rightarrow 5c+d \in (0,25,50,75,100,125) We further note that d d is a multiple of 5 5 . Let d = 5 k d=5k . Then, 0 k 4 0 \leq k \leq 4 . c + k ( 0 , 5 , 10 , 15 , 20 , 25 ) c+k \in (0,5,10,15,20,25) Now, its easy to spot that we have 5 5 solutions to all except when c + k = 0 c+k=0 , and c + k = 25 c+k=25 . For c + k = 0 c+k=0 there is a just 1 1 solution, and 4 4 solutions when c + k = 25 c+k=25 , since c < 25 k 0 c < 25 \Rightarrow k \neq 0 in this particular case.

We now establish that 25 ( 5 a + b ) ( 1200 , 1175 , 1150 , 1125 , 1100 , 1075 ) 25(5a+b) \in (1200,1175,1150,1125,1100,1075) ( 5 a + b ) ( 48 , 47 , 46 , 45 , 44 , 43 ) (5a+b) \in (48,47,46,45,44,43) Via modular arithmetic or simple reasoning, we have that b ( 5 t + 3 , 5 t + 2 , 5 t + 1 , 5 t , 5 t + 4 , 5 t + 3 ) b \in (5t+3,5t+2,5t+1,5t,5t+4,5t+3) for the the above cases, respectively. Hence, ( a + t ) ( 9 , 9 , 9 , 9 , 8 , 8 ) (a+t) \in (9,9,9,9,8,8) . Clearly , 0 t 4 0 \leq t \leq 4 satisfies all the cases. 5 5 solutions exist in each case, which can easily be checked. Thus number of solutions in this case: = 5 1 + 4 5 2 + 4 5 = 125 =5\cdot 1 + 4 \cdot 5^2 + 4 \cdot 5=125 .

Case 2: P ( x ) = a x 4 + b x 3 + c x 2 + d x + e P(x)=ax^4+bx^3+cx^2+dx +e P ( 5 ) = 25 48 = 625 a + 125 b + 25 c + 5 d + e = 1200 P(5)=25 \cdot 48 = 625a + 125b+25c+5d+e=1200 Note that 625 a 1200 a = 1 625 a \leq 1200 \Rightarrow a=1 125 b + 25 c + 5 d + e = 575 125b+25c+5d+e=575 An analogous argument as in the previous case, tell us that we have 5 d + e ( 0 , 25 , 50 , 75 , 100 , 125 ) 5d+e \in (0,25,50,75,100,125) .We already know the number of solutions for each case here.

And then we have : 5 b + c ( 23 , 22 , 21 , 20 , 19 , 18 ) 5b+c \in (23,22,21,20,19,18) - 5 b + c = 23 , 22 , 21 , 20 5b+c=23,22,21,20 ---> 0 b 4 0 \leq b \leq 4 ----> 5 5 solutions for each. - 5 b + c = 19 , 18 5b+c=19,18 ---> 0 b 3 0 \leq b \leq 3 ----> 4 solutions for each.

Total solutions in this case : = 5 1 + 3 ( 5 2 ) + 4 5 + 5 4 = 116 =5 \cdot 1 +3 (\cdot 5^2) + 4\cdot 5+5\cdot 4=116

TOTAL number of solutions : = 241 = \boxed{241}

Nicely held out of basic facts!

A Brilliant Member - 7 years, 7 months ago
Shyan Akmal
Apr 17, 2014

Consider the polynomials f ( x ) = 1 + x + x 2 + . . . + x 24 f(x)=1+x+x^2+...+x^{24} and g ( x ) = 1 + x + x 2 + . . . + x 5 g(x)=1+x+x^2+...+x^5 .

The problem is asking us to find the coefficient of x 1200 x^{1200} in the expansion f ( x ) f ( x 5 ) f ( x 25 ) f ( x 125 ) . . . f(x)f\left(x^5\right)f\left(x^{25}\right)f\left(x^{125}\right)...

Note that we have the factorization f ( x ) = g ( x ) g ( x 5 ) f(x)=g(x)g(x^5) . Thus, we want to compute the coefficent of x 1200 x^{1200} in ( g ( x ) g ( x 5 ) g ( x 25 ) . . . ) ( g ( x 5 ) g ( x 25 ) . . . ) . \left(g(x)g\left(x^5\right)g\left(x^{25}\right)...\right)\left(g\left(x^5\right)g\left(x^{25}\right)...\right).

However, since every number has a unique base five expression, we have g ( x ) g ( x 5 ) g ( x 25 ) . . . = 1 + x + x 2 + x 3 + . . . = 1 1 x . g(x)g\left(x^5\right)g\left(x^{25}\right)... = 1 + x+x^2+x^3+... = \dfrac{1}{1-x}.

Substituting in to the earlier expression, we want the coefficient of x 1200 x^{1200} in 1 1 x 1 1 x 5 \dfrac{1}{1-x}\cdot\dfrac{1}{1-x^5} which upon expansion is clearly [ 1200 5 ] + 1 = 241. \left[\dfrac{1200}{5}\right]+1=241.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...