OFFSET
0,4
EXAMPLE
a(5) counts these 8 partitions of 10: 811, 721, 631, 541, 532, 433, 421111, 322111.
MATHEMATICA
p[n_] := p[n] = Select[IntegerPartitions[2 n], Count[#, _?OddQ] == 2*Count[#, _?EvenQ] &]; t = Table[p[n], {n, 0, 8}] (* shows the partitions *); TableForm[t] (* partitions, vertical format *)
t1 = Table[Length[p[n]], {n, 0, 60}] (* A239258 *)
(* Peter J. C. Moses, Mar 10 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 13 2014
EXTENSIONS
More terms from Alois P. Heinz, Mar 15 2014
STATUS
approved