A package that returns all the combinations and permutations, without repitition, of a given set and subset size. Associative arrays are preserved.

Download from: http://pear.php.net/package/Math_Combinatorics/download