PowersRepresentations

PowersRepresentations[n,k,p]

gives the distinct representations of the integer n as a sum of k non-negative p^(th) integer powers.

Details

Examples

open allclose all

Basic Examples  (1)

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]=

Scope  (2)

Properties & Relations  (2)

Possible Issues  (1)

See Also

SquaresR  IntegerPartitions  FindInstance  Divisors

Tutorials

Introduced in 2007
(6.0)