当前位置:网站首页>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 .
边栏推荐
- Line fitting (least square method)
- STM32 infrared communication 2
- STM32 infrared communication 3 brief
- 想转行,却又不知道干什么?此文写给正在迷茫的你
- 深度学习——目标定位
- 2022.01.20 [bug note] | qiime2: an error was encoded while running dada2 in R (return code 1)
- Log service management
- STM32 infrared communication
- 期末复习-PHP学习笔记11-PHP-PDO数据库抽象层.
- November 21, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5 advanced database search)
猜你喜欢
Self study notes -- use of 74h573
Installation software operation manual (continuous update)
Implementation of double linked list in C language
冰冰学习笔记:快速排序
November 22, 2021 [reading notes] - bioinformatics and functional genomics (Section 5 of Chapter 5 uses a comparison tool similar to blast to quickly search genomic DNA)
Armv8 (coretex-a53) debugging based on openocd and ft2232h
Arm debug interface (adiv5) analysis (I) introduction and implementation [continuous update]
深度学习——残差网络ResNets
Final review -php learning notes 7-php and web page interaction
Account command and account authority
随机推荐
Basic theory of four elements and its application
C language - student achievement management system
November 16, 2021 [reading notes] - macro genome analysis process
冰冰学习笔记:快速排序
Proteus catalog component names and Chinese English cross reference table
2021-10-29 [microbiology] a complete set of 16s/its analysis process based on qiime2 tool (Part I)
期末複習-PHP學習筆記3-PHP流程控制語句
深度学习——特征点检测和目标检测
2021.11.20 [reading notes] | differential variable splicing events and DTU analysis
Introduction notes to pytorch deep learning (XII) neural network - nonlinear activation
Experiment 1: comprehensive experiment [process on]
C language operators
Firewall firewalld
Common sorting methods
期末复习-PHP学习笔记2-PHP语言基础
November 22, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5, section 4, hidden Markov model)
Raspberry pie 4B Getting Started Guide
6月底了,可以开始做准备了,不然这么赚钱的行业就没你的份了
Solve the linear equation of a specified point and a specified direction
December 4, 2021 [metagenome] - sorting out the progress of metagenome process construction