partconv function

Numeric Encoding of a Partitioning