Combinatorial Madness!

a + b + c + d + e = 15 a b c d e \large \displaystyle \sum_{a+b+c+d+e=15} abcde

Given that a , b , c , d , e a,b,c,d,e are positive integers satisfying a + b + c + d + e = 15 a+b+c+d+e=15 , find the value of the above expression, where the sum is taken over all satisfying ordered quintuplets ( a , b , c , d , e ) (a,b,c,d,e) .


The answer is 92378.

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.

3 solutions

Mark Hennings
Jun 16, 2016

The sum is the coefficient of x 15 x^{15} in the series expansion of ( a = 1 a x a ) 5 = ( x ( 1 x ) 2 ) 5 = x 5 ( 1 x ) 10 x < 1 \left(\sum_{a=1}^\infty ax^a\right)^5 \; = \; \left(\frac{x}{(1-x)^2}\right)^5 \; = \; x^5(1-x)^{-10} \qquad \qquad |x| < 1 and hence is the coefficient of x 10 x^{10} in ( 1 x ) 10 = n = 0 ( n + 9 n ) x n x < 1 (1 - x)^{-10} \; = \; \sum_{n=0}^\infty \binom{n+9}{n} x^n \qquad \qquad |x| < 1 . Thus the sum is ( 19 10 ) = 92378 \binom{19}{10} = \boxed{92378} .

Hi can you please explain the thought process behind how you solved this problem. I don't fully understand your work. Thank You!

Ashish Sacheti - 4 years, 11 months ago

Log in to reply

Since f ( x ) = ( a = 1 a x a ) 5 = ( a = 1 a x a ) ( b = 1 b x b ) ( c = 1 c x c ) ( d = 1 d x d ) ( e = 1 e x e ) = a , b , c , d , e = 1 a b c d e x a + b + c + d + e f(x) \; = \; \left(\sum_{a=1}^\infty ax^a\right)^5 \; = \; \left(\sum_{a=1}^\infty ax^a\right)\left(\sum_{b=1}^\infty bx^b\right)\left(\sum_{c=1}^\infty cx^c\right)\left(\sum_{d=1}^\infty dx^d\right)\left(\sum_{e=1}^\infty ex^e\right) \; =\; \sum_{a,b,c,d,e=1}^\infty abcde x^{a+b+c+d+e} we see that the coefficient of x 15 x^{15} in f ( x ) f(x) is a + b + c + d + e = 15 a b c d e \sum_{a+b+c+d+e = 15} abcde which is what we want to evaluate. The rest is, I hope, clear.

Mark Hennings - 4 years, 11 months ago

I used the exact same trick. Good solution.

Samrat Mukhopadhyay - 4 years, 10 months ago
Abhishek Sinha
Jun 21, 2016

Here is a quick Dynamic Programming approach to the problem. Denote the sum of product of all m m positive integers summing up to k k by S ( m , k ) S(m,k) . We require S ( 5 , 15 ) S(5,15) .

Now it is easy to notice that for m 2 m\geq 2 , S ( m , k ) S(m,k) satisfies the following recursions S ( m , k ) = i = 1 k 1 S ( m 1 , i ) ( k i ) , S(m,k)=\sum_{i=1}^{k-1} S(m-1,i)(k-i), with the initial condition S ( 1 , k ) = k , k S(1,k)=k, \hspace{10pt} \forall k

These recursions can be easily solved (numerically or otherwise) to get the answer S ( 5 , 15 ) = 92378 S(5,15)=92378 .

Manuel Kahayon
Jun 16, 2016

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 \large 1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19

Consider choosing 9 9 objects out of 19 19 objects. The number of ways to do this is obviously ( 19 9 ) = 92378 {19 \choose 9} = 92378 .

But then, you can choose objects 2 , 4 , 6 , 8 2,4,6,8 first in the set of objects ensuring there is at least one unchosen object to the left and right of the chosen objects. There are 15 15 unchosen objects, and we need to choose 5 more.

Let the number of ways to choose the 1st object, to the left of the 2nd object be a a . Let the number of ways to choose the 3rd object, to the right of the 2nd object and left of the 4th object be b b and so on. So, our set becomes like this

a 2 n d b 4 t h c 6 t h d 8 t h e \large a|2nd|b|4th|c|6th|d|8th|e

where the number of objects in a , b , c , d , e a,b,c,d,e is the number of ways you can choose from that interval, and a b c d e abcde is the number of ways to choose the 5 remaining objects from any configuration of objects 2 , 4 , 6 , 8 2,4,6,8 . But , since there are 15 remaining objects, a + b + c + d + e = 15 a+b+c+d+e=15 , and since the number of ways to choose 19 19 objects is the sum of all possible configurations of a , b , c , d , e a,b,c,d,e over all configuration of objects 2 , 4 , 6 , 8 2,4,6,8 , we get the number of ways to choose 9 objects out of 19 objects to be a + b + c + d + e = 15 a b c d e = ( 19 9 ) = 92378 \large \displaystyle \sum_{a+b+c+d+e=15} abcde = { 19\choose 9} = \boxed{92378} .

I don't get your logic. Perhaps add an explanation. Why choosing 9 objects from 19 object ? I think that lacks explanation. I have solved this problem using another approach though.

Billy Sugiarto - 4 years, 12 months ago

Log in to reply

For any 1 p < q < r < s 19 1 \le p < q < r < s \le 19 , how many ways are there of choosing 9 9 numbers from 19 19 if the 2nd number is p p , the 4th number is q q , the 6th number is r r and the 8th number is s s ?

Answer: There are p 1 p-1 numbers between 1 1 and p 1 p-1 , so p 1 p-1 choices for the 1st number. There are q p 1 q-p-1 numbers between p + 1 p+1 and q 1 q-1 , so q p 1 q-p-1 choices for the 3rd number. Similarly there are r q 1 r-q-1 choices for the 5th number, s r 1 s-r-1 choices for the 7th number and 19 s 19-s choices for the 9th number, so there are ( p 1 ) ( q p 1 ) ( r q 1 ) ( s r 1 ) ( 19 s ) (p-1)(q-p-1)(r-q-1)(s-r-1)(19-s) ways of making these choices.

If we sum over all the possibilities, we must obtain ( 19 9 ) \binom{19}{9} , so 1 p < q < r < s 19 ( p 1 ) ( q p 1 ) ( r q 1 ) ( s r 1 ) ( 19 s ) = ( 19 9 ) \sum_{1 \le p < q < r < s \le 19}(p-1)(q-p-1)(r-q-1)(s-r-1)(19-s) \; = \; \binom{19}{9}

Now change variables.

If we now write a = p 1 a = p-1 , b = q p 1 b = q-p-1 , c = r q 1 c = r-q-1 , d = s r 1 d = s-r-1 and e = 19 s e = 19-s , then there are a b c d e abcde ways of choosing 9 9 numbers out of 19 19 , where the 2nd number is a + 1 a+1 , the 4th number is a + b + 2 a+b+2 , the 6th number is a + b + c + 3 a+b+c+3 and the 8th number is a + b + c + d + 4 a+b+c+d+4 , where we note that a , b , c , d , e 0 a,b,c,d,e \ge 0 and a + b + c + d + e = 15 a+b+c+d+e=15 . Summing a b c d e abcde over all tuples ( a , b , c , d , e ) (a,b,c,d,e) with a + b + c + d + e = 15 a+b+c+d+e = 15 just runs through all the possibilities. Since the contribution of any tuple with a zero coefficient to the sum is zero, these can all be ignored. Thus the sum is ( 19 9 ) \binom{19}{9} .

Mark Hennings - 4 years, 12 months ago

Log in to reply

Yaay, thank you very much for the explanation :)

Manuel Kahayon - 4 years, 12 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...