If 

 denotes the number of partitions of 

 into 

th
powers with a number of parts that is congruent to 

 modulo 

recent work of the author (2020) showed  that 

 and that the sign of the difference 

 alternates with the parity of 

 as 

 The
aim of this paper is to study this  problem in its full generality.
By an analytic argument using the circle method and an upper bound
on exponential Gauss sums related to center density estimates
arising from the sphere packing problem, we prove that the same
results hold for  any 

 In addition, by a purely
combinatorial argument, we show that the sign of the difference

 alternates with the parity of 

 for a
larger class of partitions.