用穷举法的已经在下面post。凌志师兄的完全(brutal)穷举法,和我的半完全穷举法。归纳下来,就是
C(3,0)C(6,4)+C(3,1)C(6,3)+C(3,2)C(6,2)+C(3,3)C(6,1)
此数列可以简化的。就是=C(9,4)=126。
为什么会出现9,而不是7,(记得7/72里面的7?)。凌志师兄搜索的结果提供了一个完美的解答。
Let X={1,2,3,4,5,6,l,m,b} be a set.
Sample space is Ω={1,2,3,4,5,6}4
F={A⊂X||A|=4} is the favourable event. Here,
1) Drawing l with numbers represents the smallest number came twice. For example: drawing {1,2,3,l} represents throwing 1,1,2,3.
2) Drawing m with numbers represents the middle number came twice. For example: drawing {1,2,3,m} represents throwing 1,2,2,3.
3) Drawing b with numbers represents the biggest number came twice. For example: drawing {1,2,3,b} represents throwing 1,2,3,3.
4) Drawing l,m with numbers represents the event that the smaller number repeats thrice. For example: drawing {1,2,l,m} represents throwing 1,1,1,2.
5) Drawing b,m with numbers represents the event that the bigger number repeats thrice. For example: drawing {1,2,b,m} represents throwing 1,2,2,2.
6) Drawing l,b with numbers represents the event that both numbers repeats twice. For example: drawing {1,2,l,b} represents throwing 1,1,2,2.
7) Drawing l,b,m with a number represents the event where the number appears all the time. For example: drawing {1,m,l,b} represents throwing 1,1,1,1.