Stars and bars forever

There are 5 stars and 4 bars to be arranged in the 9 spaces pictured below. One possible arrangement is shown.

How many possible arrangements are there?


The answer is 126.

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

Andy Hayes
May 11, 2016

Relevant wiki: Identical Objects into Distinct Bins

There are ( 9 4 ) = 126 \binom{9}{4}=126 ways to choose a location for the bars. After the bars locations are chosen, the stars will fill in the rest. Thus, there are 126 \boxed{126} arrangements of the stars and bars.

There are 9! Permutations possible , but there are 4 and 5 identical objects (ie .. 4 bars and 5 stars) so , the over all permissions are 9!/(5! *4!) = 9c4 = 126

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...