OFFSET
0,4
EXAMPLE
The a(7) = 8 partitions: (7), (511), (421), (331), (322), (31111), (22111), (1111111). Missing are: (61), (52), (43), (4111), (3211), (2221), (211111).
MATHEMATICA
cobal[y_]:=Sum[(-1)^x, {x, Join@@Position[y, _?EvenQ]}];
Table[Length[Select[IntegerPartitions[n], cobal[#]===0&]], {n, 0, 50}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 12 2018
STATUS
approved