Adding up to 36

x 1 + x 2 + x 3 + x 4 + x 5 + 6 x 6 = 36 x_1+x_2+x_3+x_4+x_5+6x_6 = 36

Find the number of ordered hextuplets of non-negative integers ( x 1 , x 2 , x 3 , x 4 , x 5 , x 6 ) (x_1,x_2,x_3,x_4,x_5,x_6) that satisfy the above equation.


The answer is 167587.

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.

1 solution

Mark Hennings
Sep 17, 2017

For any integers n 1 n \ge 1 and m 0 m \ge 0 , let S n ( m ) S_n(m) the number of ordered n n -tuples of non-negative integers that add to m m . Then S 1 ( m ) = 1 S_1(m) = 1 for all m 0 m \ge 0 , and S n ( m ) = j = 0 m S n 1 ( j ) n 2 , m 0 S_n(m) \; = \; \sum_{j=0}^m S_{n-1}(j) \hspace{2cm} n \ge 2\;,\;m \ge 0 If we define the generating functions T n ( x ) = m = 0 S n ( m ) x m x < 1 T_n(x) \; = \; \sum_{m=0}^\infty S_n(m) x^m \hspace{2cm} |x| < 1 then the main recurrence relation tells us that T n ( x ) = ( 1 x ) 1 T n 1 ( x ) n 2 , x < 1 T_n(x) \; = \; (1 - x)^{-1}T_{n-1}(x) \hspace{2cm} n \ge 2 \;,\; |x| < 1 and hence that T n ( x ) = ( 1 x ) n n 1 , x < 1 T_n(x) \; = \; (1 - x)^{-n} \hspace{2cm} n \ge 1 \;, \; |x| < 1 From this it is easy to see that S n ( m ) = ( n + m 1 m ) n 1 , m 0 S_n(m) \; = \; \binom{n+m-1}{m} \hspace{2cm} n \ge 1\;,\; m \ge 0 By looking at the possible values of x 6 x_6 , we see that the desired number is S 5 ( 0 ) + S 5 ( 6 ) + S 5 ( 12 ) + S 5 ( 18 ) + S 5 ( 24 ) + S 5 ( 30 ) + S 5 ( 36 ) = 167587 S_5(0) + S_5(6) +S_5(12) + S_5(18) + S_5(24) + S_5(30) + S_5(36) \; = \; \boxed{167587}

@Mark Hennings Sir , is there any way to evaluate a closed form for the answer , or the final step has to be done by a calculator?

Ankit Kumar Jain - 3 years, 2 months ago

Log in to reply

For what it's worth, m = 0 M S 5 ( 6 m ) = m = 0 M ( 6 m + 4 6 m ) = 1 10 ( 1 + M ) ( 10 + 132 M + 418 M 2 + 387 M 3 + 108 M 4 ) \sum_{m=0}^M S_5(6m) \; = \; \sum_{m=0}^M \binom{6m+4}{6m} \; = \; \tfrac{1}{10} (1 + M) (10 + 132 M + 418 M^2 + 387 M^3 + 108 M^4)

Mark Hennings - 3 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...