Combin - 脚本和图表函数
Combin() 用于返回 q 元素组合数,它可从一组 p 项目中选取。公式如下:Combin(p,q) = p! / q!(p-q)! 选择项目的顺序不重要。
Syntax:
Combin(p, q)
Return data type: 整数
Limitations:
非整数项目将会被截短。
Examples and results:
示例 | 结果 |
---|---|
从总共 35 个乐透号码中可以选择多少组 7 个号码的组合? Combin( 35,7 ) |
返回 6,724,520 |