1
0
Fork 0
hp42s-rpn/statitics/README.md
2019-02-05 20:33:55 +01:00

16 lines
306 B
Markdown

# Statistics Tools
## SnCk
Sum of combinations.
The usual nCk function returns the number of combinations for k elements out of n.
This program sums up the combinations for 1 .. k out of n.
```
k
====
\ 1
n! > -----------
/ k! (n - k)!
====
k = 1
```