Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Mathematical Functions > Number Theoretic Functions > PowersRepresentations >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF