In their famous paper on partitions, Hardy and Ramanujan also raised the question of the behaviour of the number ps(n) of partitions of a positive integer~n into s-th powers and gave some preliminary results. We give first an asymptotic formula to all orders, and then an exact formula, describing the behaviour of the corresponding generating function Ps(q)=∏∞n=1(1−qns)−1 near any root of unity, generalizing the modular transformation behaviour of the Dedekind eta-function in the case s=1. This is then combined with the Hardy-Ramanujan circle method to give a rather precise formula for ps(n) of the same general type of the one that they gave for~s=1. There are several new features, the most striking being that the contributions coming from v...