Partitioned Sums

How many ways can we express the number 23 as the sum of 13 non-negative integers, if repetition is allowed?

Details & Assumptions

All orderings of a sums count. For example 1+2 and 2+1 are considered different ways of representing the number 3 as the sum of 2 non-negative integers.


The answer is 834451800.

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

Steven Zheng
Sep 20, 2014

Let there be 13 bins such that you place 23 (+1) counters. Since repetition is allowed, you may place multiple counters in a bin. This illustration translates the problem into finding combinations with repetitions allowed (a.k.a stars and bars). So we evaluate ( 23 + 13 1 23 ) = 834451800. \left( \begin{matrix} 23+13-1 \\ 23 \end{matrix} \right) = 834451800.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...