On a Problem of Partitions