login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A240016
Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 7.
2
1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 21, 24, 34, 41, 54, 66, 86, 105, 133, 164, 203, 250, 308, 376, 458, 560, 675, 821, 986, 1192, 1423, 1716, 2037, 2445, 2894, 3455, 4076, 4849, 5700, 6752, 7921, 9342, 10930, 12850, 14994, 17566, 20456, 23884, 27752, 32311
OFFSET
7,5
COMMENTS
With offset 14 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -7.
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, -7):
seq(a(n), n=7..80);
CROSSREFS
Column k=7 of A240009.
Sequence in context: A035955 A240015 A035962 * A035970 A240017 A035979
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 30 2014
STATUS
approved