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

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.

主站蜘蛛池模板: 南京市| 泗阳县| 济南市| 龙里县| 泗阳县| 平邑县| 保靖县| 五华县| 新竹市| 防城港市| 福清市| 仙居县| 泸州市| 石家庄市| 远安县| 西宁市| 阳西县| 来凤县| 保德县| 洛隆县| 临汾市| 子洲县| 宁都县| 吴桥县| 昭通市| 全椒县| 永修县| 当雄县| 搜索| 林州市| 云阳县| 奎屯市| 平遥县| 永修县| 泌阳县| 谢通门县| 桃园县| 怀远县| 莆田市| 长治县| 子长县|