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

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.

主站蜘蛛池模板: 静乐县| 金寨县| 上饶县| 思茅市| 彰武县| 麟游县| 都昌县| 繁峙县| 垦利县| 舟曲县| 杭锦后旗| 隆子县| 阳城县| 灵宝市| 临沧市| 美姑县| 聂拉木县| 铁岭市| 湟中县| 南华县| 新闻| 永吉县| 金寨县| 颍上县| 泽州县| 鄂托克前旗| 绿春县| 凤台县| 依安县| 木里| 铜川市| 鄄城县| 晋江市| 峨边| 泌阳县| 中阳县| 噶尔县| 长汀县| 合山市| 鄂托克旗| 波密县|