login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A240015
Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 6.
2
1, 0, 1, 1, 2, 2, 4, 4, 7, 8, 12, 14, 21, 24, 33, 41, 53, 66, 84, 104, 130, 162, 198, 246, 300, 369, 445, 548, 655, 801, 956, 1160, 1378, 1666, 1970, 2368, 2796, 3340, 3933, 4679, 5494, 6505, 7626, 8987, 10511, 12346, 14404, 16856, 19631, 22893, 26606, 30939
OFFSET
6,5
COMMENTS
With offset 12 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -6.
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, -6):
seq(a(n), n=6..80);
CROSSREFS
Column k=6 of A240009.
Sequence in context: A266780 A266781 A035955 * A035962 A240016 A035970
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 30 2014
STATUS
approved