Partition of a sum