早教吧作业答案频道 -->英语-->
C(n,k)=C(n-1,k-1)+C(n-1,k)为什么这个等式成立?请大神帮我解释下C(n,k)=C(n-1,k-1)+C(n-1,k)为什么这个等式成立?请大神帮我解释下下面这段解释,我没理解,谢谢.Whydoesthiswork?Considerwhetherthenthe
题目详情
C(n,k) = C(n-1,k-1) + C(n-1,k) 为什么这个等式成立?请大神帮我解释下
C(n,k) = C(n-1,k-1) + C(n-1,k)
为什么这个等式成立?请大神帮我解释下下面这段解释,我没理解,谢谢.
Why does this work? Consider whether the nth element appears in one of the C(n,k)
subsets of k elements. If so, we can complete the subset by picking k 1 other items from the other n 1. If not, we must pick all k items from the remaining n 1. There is no overlap between these cases, and all possibilities are included, so the sum counts all k-subsets.
C(n,k) = C(n-1,k-1) + C(n-1,k)
为什么这个等式成立?请大神帮我解释下下面这段解释,我没理解,谢谢.
Why does this work? Consider whether the nth element appears in one of the C(n,k)
subsets of k elements. If so, we can complete the subset by picking k 1 other items from the other n 1. If not, we must pick all k items from the remaining n 1. There is no overlap between these cases, and all possibilities are included, so the sum counts all k-subsets.
▼优质解答
答案和解析
很简单的问题
把n个元素分成两组
第一组n-1个,第二组1个
从中取出k个元素【方法有 C(n,k)种】 ,取法有两种
(1)从第一组中取出k个
方法有C(n-1,k)种
(2) 从第一组中取出k-1个,从第二组中取出1个
方法有C(n-1,k-1)种
所以,
C(n,k)
=C(n-1,k)+C(n-1,k-1)
把n个元素分成两组
第一组n-1个,第二组1个
从中取出k个元素【方法有 C(n,k)种】 ,取法有两种
(1)从第一组中取出k个
方法有C(n-1,k)种
(2) 从第一组中取出k-1个,从第二组中取出1个
方法有C(n-1,k-1)种
所以,
C(n,k)
=C(n-1,k)+C(n-1,k-1)
看了 C(n,k)=C(n-1,k...的网友还看了以下:
化学到底特么什么是物质的量n什么是N比如有道题下列物质中原子总数最多是这个原子总是指的是n还是N啊 2020-04-26 …
这个式子的极限是e,为什么?(n^n/n!)^(1/n)这个式子的极限为什么是e? 2020-05-21 …
在(n+1)=n^2+2n+1中,当n=1,2,3……这些正整数时,可以得到n个等式将这些等式在( 2020-06-10 …
乙二醇和乙二酸生成乙二酸乙二酯反映原理乙二醇和乙二酸在n:n的条件下可以脱n分子水,形成聚合物酯n 2020-06-20 …
5^n-5^n-1=?就是同底数不同指数的加减法法则是什么啊?以前学的忘了.还有一道(n+2)(1 2020-06-27 …
1.已知数列{a(n)}满足a(n)a(n+1)a(n+2)a(n+3)=24,且a1=1a2=2 2020-07-09 …
下列对应是A到B上的映射的是:A.A=N*,B=N*,f:x→│x-3│B.A=N*,B={-1, 2020-07-30 …
什么是二项式的通式?在二项式定理(a+b)^n=C(n,0)a^n+C(n,1)a^(n-1)b+ 2020-07-31 …
已知一个边长为a的等边三角形,现将其边长n(n为大于2的整数)等分,并以相邻等分点为顶点向外作小等 2020-08-01 …
对了,问下,什么时候用==,什么时候用=,不是说==表示逻辑判断,=表示赋值吗?我这个for(n=0 2020-12-31 …