[][src]Crate number_encoding

Combinatorial and factorial number systems

This crate provides some helper functions to play with combinations and factorials.

Modules

combinadics

Combinatorial number system

factoradics

Factorial number system

Functions

combination

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

factorial

Returns the factorial of n.

greatest_common_divisor

Returns the greatest common divisor of a and b.