Evaluate binomial coefficients: Difference between revisions
Content added Content deleted
m (→{{header|Sidef}}: modified code to work with Sidef 2.10) |
|||
Line 1,740: | Line 1,740: | ||
=={{header|Sidef}}== |
=={{header|Sidef}}== |
||
Straightforward translation of the formula: |
Straightforward translation of the formula: |
||
<lang ruby> |
<lang ruby>include bigint; |
||
func binomial(n,k) { |
func binomial(n,k) { |