OFFSET
0,6
COMMENTS
Each number in p is counted once, regardless of its multiplicity.
EXAMPLE
a(8) counts these 6 partitions: 8, 61, 53, 521, 332, 2222.
MATHEMATICA
z = 40; f[n_] := f[n] = IntegerPartitions[n]; s[k_, p_] := Count[Mod[DeleteDuplicates[p], 3], k];
Table[Count[f[n], p_ /; s[1, p] < s[2, p]], {n, 0, z}] (* A241737 *)
Table[Count[f[n], p_ /; s[1, p] == s[2, p]], {n, 0, z}] (* A241738 *)
Table[Count[f[n], p_ /; s[1, p] > s[2, p]], {n, 0, z}] (* A241739 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 28 2014
STATUS
approved