当前位置:网站首页>[combinatorics] polynomial theorem (polynomial coefficients | full arrangement of multiple sets | number of schemes corresponding to the ball sub model | polynomial coefficient correlation identity)
[combinatorics] polynomial theorem (polynomial coefficients | full arrangement of multiple sets | number of schemes corresponding to the ball sub model | polynomial coefficient correlation identity)
2022-07-03 16:35:00 【Programmer community】
One 、 Polynomial coefficients
below
3
3
3 The number is equivalent :
① Polynomial coefficients
(
n
n
1
n
2
⋯
n
t
)
\dbinom{n}{n_1 n_2 \cdots n_t}
(n1n2⋯ntn)
② The total permutation number of multiple sets
③ Put different balls in different boxes , Empty boxes are not allowed , Put a specified number of balls in each box Number of schemes ;
1 . Polynomial coefficients
Polynomial theorem
(
x
1
+
x
2
+
⋯
+
x
t
)
n
\ \ \ \ (x_1 + x_2 + \cdots + x_t)^n
(x1+x2+⋯+xt)n
=
∑
full
foot
n
1
+
n
2
+
⋯
+
n
t
=
n
Not
negative
whole
Count
Explain
individual
Count
(
n
n
1
n
2
⋯
n
t
)
x
1
n
1
x
2
n
2
⋯
x
t
n
t
= \sum\limits_{ Satisfy n_1 + n_2 + \cdots + n_t = n Number of nonnegative integer solutions }\dbinom{n}{n_1 n_2 \cdots n_t}x_1^{n_1}x_2^{n_2}\cdots x_t^{n_t}
= full foot n1+n2+⋯+nt=n Not negative whole Count Explain individual Count ∑(n1n2⋯ntn)x1n1x2n2⋯xtnt
Of ① Polynomial coefficients
(
n
n
1
n
2
⋯
n
t
)
\dbinom{n}{n_1 n_2 \cdots n_t}
(n1n2⋯ntn)
2 . The total permutation number of multiple sets :
At the same time, it represents ② The total permutation number of multiple sets
n
!
n
1
!
n
2
!
⋯
n
k
!
\cfrac{n!}{n_1! n_2! \cdots n_k!}
n1!n2!⋯nk!n! , It can be abbreviated as
(
n
n
1
n
2
⋯
n
t
)
\dbinom{n}{n_1 n_2 \cdots n_t}
(n1n2⋯ntn)
3 . The number of ball sub model schemes
③
(
n
n
1
n
2
⋯
n
t
)
\dbinom{n}{n_1 n_2 \cdots n_t}
(n1n2⋯ntn) It can represent the number of solutions of a subtype of the ball release model ,
n
n
n Different balls , Put it in
t
t
t In a different box , Notice here The ball and There are differences between boxes ,
The first
1
1
1 A box for
n
1
n_1
n1 A ball , The first
2
2
2 A box for
n
2
n_2
n2 A ball ,
⋯
\cdots
⋯ , The first
t
t
t A box for
n
t
n_t
nt A ball Number of alternatives ;
Equivalent to multi-step processing :
- The first
1
1
n
1
n_1
n1 A ball , Put it in The first
1
1
1 In a box ; The selection methods are
(
n
n
1
)
\dbinom{n}{n_1}
(n1n) Kind of ;
1 Step : choice
- The first
2
2
n
2
n_2
n2 A ball , Put it in The first
2
2
2 In a box ; The selection methods are
(
n
−
n
1
n
2
)
\dbinom{n-n_1}{n_2}
(n2n−n1) Kind of ;
⋮
\vdots
⋮
2 Step : choice
- The first
t
t
n
t
n_t
nt A ball , Put it in The first
t
t
t In a box ; The selection methods are
(
n
−
n
1
−
n
2
−
⋯
−
n
t
−
1
n
t
)
\dbinom{n-n_1-n_2 - \cdots -n_{t-1}}{n_t}
(ntn−n1−n2−⋯−nt−1) Kind of ;
t Step : choice
According to the principle of step-by-step counting , product rule , Multiply the number of categories in each step above , Is the number of all kinds :
(
n
n
1
)
(
n
−
n
1
n
2
)
(
n
−
n
1
−
n
2
−
⋯
−
n
t
−
1
n
t
)
\ \ \ \ \dbinom{n}{n_1} \dbinom{n-n_1}{n_2} \dbinom{n-n_1-n_2 - \cdots -n_{t-1}}{n_t}
(n1n)(n2n−n1)(ntn−n1−n2−⋯−nt−1)
=
n
!
n
1
!
n
2
!
⋯
n
t
!
=\cfrac{n!}{n_1! n_2! \cdots n_t!}
=n1!n2!⋯nt!n!
=
(
n
n
1
n
2
⋯
n
t
)
=\dbinom{n}{n_1 n_2 \cdots n_t}
=(n1n2⋯ntn)
Two 、 Polynomial coefficient identity
Polynomial theorem inference 3 :
∑
(
n
n
1
n
2
⋯
n
t
)
=
t
n
\sum\dbinom{n}{n_1 n_2 \cdots n_t} = t^n
∑(n1n2⋯ntn)=tn
Full Permutation of multiple sets :
(
n
n
1
n
2
⋯
n
t
)
=
n
!
n
1
!
n
2
!
⋯
n
k
!
\dbinom{n}{n_1 n_2 \cdots n_t} = \cfrac{n!}{n_1! n_2! \cdots n_k!}
(n1n2⋯ntn)=n1!n2!⋯nk!n!
recursion :
(
n
n
1
n
2
⋯
n
t
)
=
(
n
−
1
(
n
1
−
1
)
n
2
⋯
n
t
)
+
(
n
−
1
n
1
(
n
2
−
1
)
⋯
n
t
)
+
(
n
−
1
n
1
n
2
⋯
(
n
t
−
1
)
)
\dbinom{n}{n_1 n_2 \cdots n_t} = \dbinom{n-1}{(n_1-1) n_2 \cdots n_t} + \dbinom{n-1}{n_1 (n_2 - 1) \cdots n_t}+ \dbinom{n-1}{n_1 n_2 \cdots (n_t -1)}
(n1n2⋯ntn)=((n1−1)n2⋯ntn−1)+(n1(n2−1)⋯ntn−1)+(n1n2⋯(nt−1)n−1)
Prove the above recursion :
left
(
n
n
1
n
2
⋯
n
t
)
\dbinom{n}{n_1 n_2 \cdots n_t}
(n1n2⋯ntn) It is the solution to the problem of putting the ball ,
Right side
1
1
1 term
(
n
−
1
(
n
1
−
1
)
n
2
⋯
n
t
)
\dbinom{n-1}{(n_1-1) n_2 \cdots n_t}
((n1−1)n2⋯ntn−1) yes Specify a ball
a
1
a_1
a1 Must fall to the first
1
1
1 Number of schemes in boxes ;
Right side
2
2
2 term
(
n
−
1
n
1
(
n
2
−
1
)
⋯
n
t
)
\dbinom{n-1}{n_1 (n_2 - 1) \cdots n_t}
(n1(n2−1)⋯ntn−1) yes Specify a ball
a
1
a_1
a1 Must fall to the first
2
2
2 Number of schemes in boxes ;
⋮
\vdots
⋮
Right side
t
t
t term
(
n
−
1
n
1
n
2
⋯
(
n
t
−
1
)
)
\dbinom{n-1}{n_1 n_2 \cdots (n_t -1)}
(n1n2⋯(nt−1)n−1) yes Specify a ball
a
1
a_1
a1 Must fall to the first
t
t
t Number of schemes in boxes ;
边栏推荐
- Slam learning notes - build a complete gazebo multi machine simulation slam from scratch (I)
- NSQ源码安装运行过程
- [solved] access denied for user 'root' @ 'localhost' (using password: yes)
- Slam learning notes - build a complete gazebo multi machine simulation slam from scratch (4)
- Mb10m-asemi rectifier bridge mb10m
- Extraction of the same pointcut
- 相同切入点的抽取
- How to initialize views when loading through storyboards- How is view initialized when loaded via a storyboard?
- 什么是质押池,如何进行质押呢?
- [combinatorics] combinatorial identity (sum of combinatorial identity products 1 | sum of products 1 proof | sum of combinatorial identity products 2 | sum of products 2 proof)
猜你喜欢
The mixlab editing team is recruiting teammates~~
NSQ源码安装运行过程
Unreal_ Datatable implements ID self increment and sets rowname
The word backspace key cannot delete the selected text, so you can only press Delete
[combinatorics] non descending path problem (outline of non descending path problem | basic model of non descending path problem | non descending path problem expansion model 1 non origin starting poi
NLP四范式:范式一:非神经网络时代的完全监督学习(特征工程);范式二:基于神经网络的完全监督学习(架构工程);范式三:预训练,精调范式(目标工程);范式四:预训练,提示,预测范式(Prompt工程)
Stm32f103c8t6 firmware library lighting
Multithread 02 thread join
Explore Cassandra's decentralized distributed architecture
斑馬識別成狗,AI犯錯的原因被斯坦福找到了
随机推荐
Golang 匿名函数使用
1287. Elements that appear more than 25% in an ordered array
Unity project optimization case 1
Explore Netease's large-scale automated testing solutions see here see here
Unity项目优化案例一
【剑指 Offer 】57 - II. 和为s的连续正数序列
近视:摘镜or配镜?这些问题必须先了解清楚
Golang anonymous function use
PHP CI (CodeIgniter) log level setting
Visual SLAM algorithms: a survey from 2010 to 2016
Top k questions of interview
相同切入点的抽取
[combinatorics] summary of combinatorial identities (eleven combinatorial identities | proof methods of combinatorial identities | summation methods)*
To resist 7-Zip, list "three sins"? Netizen: "is the third key?"
Myopia: take off or match glasses? These problems must be understood clearly first
Using optimistic lock and pessimistic lock in MySQL to realize distributed lock
Record windows10 installation tensorflow-gpu2.4.0
Slam learning notes - build a complete gazebo multi machine simulation slam from scratch (III)
8 cool visual charts to quickly write the visual analysis report that the boss likes to see
Nifi from introduction to practice (nanny level tutorial) - flow