5.Customer去一个fruit land 摘 “3 pieces of fruit”. 意思是一个selection 是3 pieces。Different selections are regarded only as those 3 pieces are different types. 问,最后是不是超过 7types? 1) more than 18 different selections in which all 3 pieces are different. 2) more than 24 different selections in which two pieces are the same type, and the other is different. 这道我一看就蒙了,当时就想赶紧来讨论一下。我现在还是没想明白different selection and different type是啥关系。 其实就是JJ: 一个人去选水果,从n个type中选三个,问n是否大于7 1,如果三个水果不是同种,有超过18种取法 2,如果两个同种,一个是另外一种,有超过24种取法 E C(3,n), sp.n=7,C=35; n=6,C=20,当n=6时,取法大于18,1错 同理2不成立:C(1,n)*C(1,n-1),sp.n=6, 取法大于30 so E 为什么(2)不可以用C(2,n)来求,而必须用C(1,n)*C(1,n-1),题中好像没有提到select有先后顺序。 而且(1)也是用C(3,n)来求解 |