|
|
A240018
|
|
Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 9.
|
|
2
|
|
|
1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 21, 24, 34, 41, 55, 66, 88, 105, 136, 165, 208, 253, 316, 382, 471, 571, 696, 840, 1019, 1224, 1474, 1768, 2114, 2527, 3010, 3582, 4247, 5042, 5951, 7040, 8285, 9766, 11454, 13465, 15742, 18448, 21516, 25136, 29241, 34073
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
9,5
|
|
COMMENTS
|
With offset 18 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -9.
|
|
LINKS
|
|
|
MAPLE
|
b:= proc(n, i, t) option remember; `if`(abs(t)>n, 0,
`if`(n=0, 1, `if`(i<1, 0, b(n, i-1, t)+
`if`(i>n, 0, b(n-i, i, t+(2*irem(i, 2)-1))))))
end:
a:= n-> b(n$2, -9):
seq(a(n), n=9..80);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|