pub fn combinations(n: u64, k: u64) -> f64
Expand description

Calculate the number of combinations when choosing k elements from n elements without replacement. This is also known as n over k, or the binomial coefficient.