calcKoverI function
Implementation
num calcKoverI( int k, int i ) {
int nom = 1;
for ( int j = 2; j <= k; ++ j ) {
nom *= j;
}
int denom = 1;
for ( int j = 2; j <= i; ++ j ) {
denom *= j;
}
for ( int j = 2; j <= k - i; ++ j ) {
denom *= j;
}
return nom / denom;
}