1
0
Fork 0
hp42s-rpn/statitics
Joerg Elfring 61789cb41f Remove Line-Nr und Header
from txt files. The Encoder will add them and it messes up version
management.
2019-11-20 19:14:34 +01:00
..
README.md first commit 2019-02-05 20:33:55 +01:00
SnCk.raw first commit 2019-02-05 20:33:55 +01:00
SnCk.txt Remove Line-Nr und Header 2019-11-20 19:14:34 +01:00

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