|
|
A274324
|
|
Number of partitions of n^3 into at most two parts.
|
|
3
|
|
|
1, 1, 5, 14, 33, 63, 109, 172, 257, 365, 501, 666, 865, 1099, 1373, 1688, 2049, 2457, 2917, 3430, 4001, 4631, 5325, 6084, 6913, 7813, 8789, 9842, 10977, 12195, 13501, 14896, 16385, 17969, 19653, 21438, 23329, 25327, 27437, 29660, 32001, 34461, 37045, 39754
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
Coefficient of x^(n^3) in 1/((1-x)*(1-x^2)).
a(n) = (3+(-1)^n+2*n^3)/4.
a(n) = 3*a(n-1)-2*a(n-2)-2*a(n-3)+3*a(n-4)-a(n-5) for n>4.
G.f.: (1-2*x+4*x^2+3*x^3) / ((1-x)^4*(1+x)).
E.g.f.: ((2 + x + 3*x^2 + x^3)*cosh(x) + (1 + x + 3*x^2 + x^3)*sinh(x))/2. (End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI)
\\ b(n) is the coefficient of x^n in the g.f. 1/((1-x)*(1-x^2)).
b(n) = (3+(-1)^n+2*n)/4
vector(50, n, n--; b(n^3))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|