|
|
A341496
|
|
Number of partitions of n with exactly one repeated part and that part is even.
|
|
5
|
|
|
0, 0, 0, 0, 1, 1, 1, 2, 4, 5, 6, 9, 12, 16, 20, 26, 34, 43, 53, 67, 82, 101, 124, 151, 184, 222, 267, 320, 381, 454, 539, 637, 752, 884, 1038, 1214, 1417, 1651, 1920, 2227, 2578, 2979, 3437, 3957, 4547, 5218, 5980, 6840, 7815, 8914, 10154, 11552, 13122
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,8
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (Sum_{k>=1} x^(4*k)/(1 - x^(4*k)) * Product_{k>=1} (1 + x^k).
|
|
EXAMPLE
|
The a(4) = 1 partition is: 2+2.
The a(5) = 1 partition is: 1+2+2.
The a(6) = 1 partition is: 2+2+2.
The a(7) = 2 partitions are: 2+2+3, 1+2+2+2.
The a(8) = 4 partitions are: 4+4, 2+2+4, 1+2+2+3, 2+2+2+2.
|
|
PROG
|
(PARI) seq(n)={Vec(sum(k=1, n\4, x^(4*k)/(1 - x^(4*k)) + O(x*x^n)) * prod(k=1, n, 1 + x^k + O(x*x^n)), -(n+1))}
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|