官术网_书友最值得收藏!

Multinomial coefficient

We know from the binomial theorem (which you likely learned in high school) that the following is true:

Then, the trinomial is as follows:

Say we have n pieces of candy and there are blue- and red-colored candies. The different ways that we can pick the candies is defined as , which is read as n choose k.

The multinomial coefficient is as follows:

This way, we spread n items over k positions, where the ith position has ni items.

For example, say we're playing cards and we have four players. A deck of cards has 52 cards and we deal 13 cards to each player. So, the number of possible ways that we can distribute the cards is as follows:

This is absolutely massive!

This is where Stirling's formula comes to the rescue. It allows us to approximate the answer.

主站蜘蛛池模板: 原阳县| 长岛县| 田阳县| 雅江县| 尚志市| 金坛市| 丽江市| 泰来县| 丰都县| 镇江市| 平远县| 宝兴县| 名山县| 弥渡县| 威宁| 泰来县| 利辛县| 肇东市| 钟祥市| 博爱县| 乐陵市| 大连市| 广宗县| 霸州市| 翁牛特旗| 大丰市| 当涂县| 吴堡县| 张掖市| 六枝特区| 华宁县| 平果县| 文安县| 清新县| 曲阳县| 广水市| 张掖市| 五台县| 陆川县| 平凉市| 汾西县|