ordered partitions of an integer