A problem on partitions connected with Waring’s problem