This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

PowersRepresentations

PowersRepresentations
gives the distinct representations of the integer n as a sum of k non-negative p^(th) integer powers.
Find representations of 1729 as a sum of two cubes:
Find representations of 1729 as a sum of two cubes:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Representation of relatively large numbers as the sum of two squares:
Known taxicab numbers:
Use FindInstance to find a solution instance:
PowersRepresentations gives ordered partitions of fixed length:
The scale of the computation increases rapidly with the size of the number:
New in 6