Colourful candies

Candies are available in four different colours. If Barry wants to buy a dozen candies, then in how many ways can he choose the candies?


The answer is 455.

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

Rajdeep Das
Oct 1, 2016

This is the same as a a + b b + c c + d d = 12.Thus (using stars and bars) number of ways is 15 ! 12 ! 3 ! \frac{15!}{12!3!} = 15 14 13 3 2 1 \frac{15*14*13}{3*2*1} = 455

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...