OFFSET
0,5
EXAMPLE
a(6) counts these 7 partitions: 51, 42, 411, 321, 3111, 2211, 21111.
MATHEMATICA
z = 52; f[n_] := f[n] = IntegerPartitions[n]; u[p_] := Length[DeleteDuplicates[Select[p, Count[p, #] == 1 &]]];
Table[Count[f[n], p_ /; MemberQ[p, u[p]] && MemberQ[p, Count[p, 1]]], {n, 0, z}] (* A241506 *)
Table[Count[f[n], p_ /; ! MemberQ[p, u[p]] && MemberQ[p, Count[p, 1]] ], {n, 0, z}] (* A241507 *)
Table[Count[f[n], p_ /; MemberQ[p, u[p]] && ! MemberQ[p, Count[p, 1]] ], {n, 0, z}] (* A241508 *)
Table[Count[f[n], p_ /; ! MemberQ[p, u[p]] && ! MemberQ[p, Count[p, 1]] ], {n, 0, z}] (* A241509 *)
Table[Count[f[n], p_ /; MemberQ[p, u[p]] || MemberQ[p, Count[p, 1]] ], {n, 0, z}] (* A241510 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 24 2014
STATUS
approved