OFFSET
1,3
COMMENTS
The depth of a partition is defined at A237685 as follows. Suppose that P is a partition of n. Let x(1), x(2), ..., x(k) be the distinct parts of P, and let m(i) be the multiplicity of x(i) in P. Let f(P) be the partition [m(1)*x(1), m(2)*x(2), ..., x(k)*m(k)] of n. Define c(0,P) = P, c(1,P) = f(P), ..., c(n,P) = f(c(n-1,P), and define d(P) = least n such that c(n,P) has no repeated parts; d(P) is the depth of P. Conjecture: lim_{n->infinity} a(n)/A000041(n) = 1.
EXAMPLE
The 11 partitions of 6 are partitioned by depth as follows:
depth 0: 6, 51, 42, 321;
depth 1: 411, 33, 222, 2211, 21111, 11111;
depth 2: 3111.
Thus, a(6) = 5.
MATHEMATICA
z = 40; c[n_] := c[n] = Map[Length[FixedPointList[Sort[Map[Total, Split[#]], Greater] &, #]] - 2 &, IntegerPartitions[n]]
Table[Count[c[n], 1], {n, 1, z}] (* A237685 *)
Table[PartitionsP[n] - Count[c[n], 1], {n, 1, z}] (* A238003 *)
(* Peter J. C. Moses, Feb 19 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Feb 19 2014
STATUS
approved