|
|
A375580
|
|
a(n) is the number of partitions n = x + y + z of positive integers such that x*y*z is a perfect cube.
|
|
3
|
|
|
0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 2, 3, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 0, 2, 2, 2, 2, 1, 2, 3, 2, 2, 3, 2, 0, 1, 1, 3, 1, 3, 2, 2, 1, 1, 1, 2, 1, 4, 1, 2, 3, 3, 3, 3, 1, 1, 4, 2, 2, 2, 3, 1, 2, 3, 1, 3, 4, 1, 3, 2, 2, 1, 2, 2, 3, 3, 2, 4
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,21
|
|
COMMENTS
|
a(n) is also the number of distinct integer-sided cuboids with total edge length 4*n whose unit cubes can be grouped to a cube.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(21) = 3 because the three partitions [1, 4, 16], [3, 6, 12], [7, 7, 7] satisfy the conditions: 1 + 4 + 16 = 21 and 1*4*16 = 4^3, 3 + 6 + 12 = 21 and 3*6*12 = 6^3, 7 + 7 + 7 = 21 and 7*7*7 = 7^3.
See also linked Maple code.
|
|
MAPLE
|
# See Huber link.
|
|
PROG
|
(PARI) \\ See Corneth link
(Python)
from sympy import integer_nthroot
def A375580(n): return sum(1 for x in range(n//3) for y in range(x, n-x-1>>1) if integer_nthroot((n-x-y-2)*(x+1)*(y+1), 3)[1]) # Chai Wah Wu, Aug 21 2024
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|