PowersRepresentations¶ Gives all representations of n as a sum of k non-negative p-th powers. $ wo 'PowersRepresentations[3, 2, 2]' {}