OFFSET
0,6
FORMULA
EXAMPLE
a(6) counts these 3 partitions: 51, 42, 321.
MATHEMATICA
z = 60; f[n_] := f[n] = IntegerPartitions[n]; m[p_] := Max[Map[Length, Split[p]]] (* maximal multiplicity *); d[p_] := d[p] = Length[DeleteDuplicates[p]] (* number of distinct terms *)
t1 = Table[Count[f[n], p_ /; m[p] < d[p]], {n, 0, z}] (* A240305 *)
t2 = Table[Count[f[n], p_ /; m[p] <= d[p]], {n, 0, z}] (* A240306 *)
t3 = Table[Count[f[n], p_ /; m[p] == d[p]], {n, 0, z}] (* A239964 *)
t4 = Table[Count[f[n], p_ /; m[p] >= d[p]], {n, 0, z}] (* A240308 *)
t5 = Table[Count[f[n], p_ /; m[p] > d[p]], {n, 0, z}] (* A240309 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 05 2014
STATUS
approved