A366063 Irregular triangle read by rows: T(n,k) is the number of partitions of n that have depth k.
1, 1, 1, 2, 1, 2, 2, 1, 3, 4, 0, 4, 6, 1, 5, 9, 1, 6, 11, 4, 1, 8, 20, 2, 0, 10, 25, 7, 0, 12, 37, 6, 1, 15, 47, 13, 2, 18, 67, 15, 1, 22, 85, 25, 3, 27, 122, 26, 1, 32, 142, 46, 10, 1, 38, 200, 53, 6, 0, 46, 259, 74, 6, 0, 54, 330, 92, 13, 1, 64, 412, 136
Offset: 1
Examples
First 20 rows: 1 1 1 2 1 2 2 1 3 4 0 4 6 1 5 9 1 6 11 4 1 8 20 2 0 10 25 7 0 12 37 6 1 15 47 13 2 18 67 15 1 22 85 25 3 27 122 26 1 32 142 46 10 1 38 200 53 6 0 46 259 74 6 0 54 330 92 13 1 64 412 136 15 0
Crossrefs
Programs
-
Mathematica
z = 36; c[n_] := c[n] = Map[Length[FixedPointList[Sort[Map[Total, Split[#]], Greater] &, #]] - 2 &, IntegerPartitions[n]] t = Table[Count[c[n], k], {n, 1, z}, {k, 0, Floor[Log[2, n]]}] TableForm[t] (* this sequence as an array *) Flatten[t] (* this sequence *)
Comments