OFFSET
10,5
COMMENTS
With offset 20 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -10.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 10..1000
EXAMPLE
a(17) = 4: [6,1,1,1,1,1,1,1,1,1,1,1], [5,2,1,1,1,1,1,1,1,1,1,1], [4,3,1,1,1,1,1,1,1,1,1,1], [3,3,2,1,1,1,1,1,1,1,1,1].
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, -10):
seq(a(n), n=10..80);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 30 2014
STATUS
approved