|
|
A240128
|
|
Number of partitions of n such that the sum of cubes of the parts is a cube.
|
|
2
|
|
|
1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 2, 2, 1, 3, 4, 4, 4, 3, 3, 4, 4, 5, 12, 9, 14, 13, 13, 16, 17, 30, 34, 33, 34, 37, 50, 57, 64, 73, 99, 101, 114, 125, 141, 187, 193, 226, 264, 286, 326, 365, 456, 506, 565, 655, 742, 809, 911, 1071, 1233
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,8
|
|
LINKS
|
|
|
EXAMPLE
|
a(17) counts these 4 partitions: [17], [4,3,3,1,1,1,1,1,1,1], [4,3,2,2,2,2,1,1], [3,3,3,3,2,2,1].
|
|
MATHEMATICA
|
f[x_] := x^(1/3); z = 26; ColumnForm[t = Map[Select[IntegerPartitions[#], IntegerQ[f[Total[#^3]]] &] &, Range[z]] ](* shows the partitions *)
t2 = Map[Length[Select[IntegerPartitions[#], IntegerQ[f[Total[#^2]]] &]] &, Range[40]] (* A240128 *) (* Peter J. C. Moses, Apr 01 2014 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|