login
A240017
Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 8.
2
1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 21, 24, 34, 41, 55, 66, 87, 105, 135, 165, 206, 252, 313, 380, 466, 567, 688, 833, 1006, 1212, 1454, 1748, 2083, 2495, 2963, 3532, 4177, 4965, 5848, 6924, 8134, 9593, 11236, 13212, 15429, 18082, 21070, 24613, 28611, 33332
OFFSET
8,5
COMMENTS
With offset 16 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -8.
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, -8):
seq(a(n), n=8..80);
CROSSREFS
Column k=8 of A240009.
Sequence in context: A035962 A240016 A035970 * A035979 A240018 A035989
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 30 2014
STATUS
approved