当前位置:网站首页>The counting tool of combinatorial mathematics -- generating function
The counting tool of combinatorial mathematics -- generating function
2022-06-30 07:42:00 【ASUKASS】

The generating function is like a function but not a function .

Understand that the dice model can be used here , That is, two dice are rolled 6 How many times do you click :
Divide the two dice into one dice by rolling them step by step , The probability of a single die rolling a point is x, Two things are x*x, Then the probability distribution of a single dice according to the law of addition is x+x square .......+x Sixth power , Two dice because it is a step-by-step process , So we should let two polynomials ( The generating function ) Multiply , In the sum polynomial x The coefficient before the sixth power is 6 The number of times a dot appears .
In the same way m The dice roll n What is the probability of a point .

Simple application of generating function ;



Here is my brief understanding of the problem :
In fact, this problem is to divide the four weights into four steps according to the step-by-step division strategy , first 1 There are two possibilities for Gram's weight to be weighed or not , The probability of a gram is x,0 Gram is x To the zeroth power of 1, Because these two possibilities are in the same step , So add up . In the same way, we know that the generating function of two grams of weight is 1+x square ....... And so on , Calculate the generating functions of the four weights and multiply them , In the resulting generating function polynomial ,x The number of times is a few grams , The coefficient in front of it is the number of schemes .
边栏推荐
猜你喜欢

Inversion Lemma

深度学习——嵌入矩阵and学习词嵌入andWord2Vec

Examen final - notes d'apprentissage PHP 3 - Déclaration de contrôle du processus PHP
![December 19, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5 advanced database search)](/img/e9/8646f3e2da0ece853e7135eb6e30d9.jpg)
December 19, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5 advanced database search)

深度学习——GRU单元

Final review -php learning notes 4-php custom functions

Investment and financing analysis report of Supply Chain & logistics industry in 2021

At the age of 25, I started to work in the Tiankeng industry with buckets. After going through a lot of hardships to become a programmer, my spring finally came
![Experiment 1: comprehensive experiment [process on]](/img/19/6c6e18d7e1f042bfd3ee4832b78542.png)
Experiment 1: comprehensive experiment [process on]

2021 private equity fund market report (62 pages)
随机推荐
Given a fixed point and a straight line, find the normal equation of the straight line passing through the point
Examen final - notes d'apprentissage PHP 3 - Déclaration de contrôle du processus PHP
Inversion Lemma
Commands and permissions for directories and files
Digital white paper on total cost management in chain operation industry
深度学习——GRU单元
ACM. HJ48 从单向链表中删除指定值的节点 ●●
深度学习——特征点检测和目标检测
Arm debug interface (adiv5) analysis (I) introduction and implementation [continuous update]
Line fitting (least square method)
深度学习——Bounding Box预测
2021 China Enterprise Cloud index insight Report
Final review -php learning notes 6- string processing
Parameter calculation of deep learning convolution neural network
At the age of 25, I started to work in the Tiankeng industry with buckets. After going through a lot of hardships to become a programmer, my spring finally came
Final review -php learning notes 1
深度学习——网络中的网络以及1x1卷积
Examen final - notes d'apprentissage PHP 5 - Tableau PHP
November 22, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5, section 4, hidden Markov model)
Cadence physical library lef file syntax learning [continuous update]