Expand description

Number systems

This crate provides number systems for combinations, factorials, multinomials, and sequences of bits.


Combinatorial number system

Factorial number system

Multinomial number system

Bit sequence number system


Returns the number of k-combinations of a set of n elements.

Returns the factorial of n.

Returns the greatest common divisor of a and b.

Returns the number of permutations of a multiset.