OFFSET
0,3
COMMENTS
For the partition [n] of n, "max(x(i) - x(i-1))" is (as in the Mathematica program) interpreted as 0.
EXAMPLE
a(6) counts these 8 partitions: 6, 33, 321, 3111, 222, 2211, 21111, 111111.
MATHEMATICA
z = 30; f[n_] := f[n] = IntegerPartitions[n]; g[p_] := Max[-Differences[p]]
Table[Count[f[n], p_ /; g[p] < Length[p]], {n, 0, z}] (* A241828 *)
Table[Count[f[n], p_ /; g[p] <= Length[p]], {n, 0, z}] (* A241829 *)
Table[Count[f[n], p_ /; g[p] == Length[p]], {n, 0, z}] (* A241830 *)
Table[Count[f[n], p_ /; g[p] >= Length[p]], {n, 0, z}] (* A241831 *)
Table[Count[f[n], p_ /; g[p] > Length[p]], {n, 0, z}] (* A241832 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 30 2014
STATUS
approved