PowersRepresentations[n,k,p]
gives the distinct representations of the integer n as a sum of k non-negative p integer powers.


PowersRepresentations
PowersRepresentations[n,k,p]
gives the distinct representations of the integer n as a sum of k non-negative p integer powers.
Examples
open all close allScope (2)
Properties & Relations (2)
Use FindInstance to find a solution instance:
PowersRepresentations gives ordered partitions of fixed length:
Tech Notes
Related Guides
History
Text
Wolfram Research (2007), PowersRepresentations, Wolfram Language function, https://reference.wolfram.com/language/ref/PowersRepresentations.html.
CMS
Wolfram Language. 2007. "PowersRepresentations." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PowersRepresentations.html.
APA
Wolfram Language. (2007). PowersRepresentations. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PowersRepresentations.html
BibTeX
@misc{reference.wolfram_2025_powersrepresentations, author="Wolfram Research", title="{PowersRepresentations}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/PowersRepresentations.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_powersrepresentations, organization={Wolfram Research}, title={PowersRepresentations}, year={2007}, url={https://reference.wolfram.com/language/ref/PowersRepresentations.html}, note=[Accessed: 08-August-2025]}