A239510 Number of partitions p of n such that if h = min(p), then h is an (h,0)-separator of p; see Comments.
0, 0, 0, 0, 1, 1, 2, 4, 5, 7, 11, 13, 18, 24, 30, 37, 48, 59, 73, 90, 109, 132, 163, 193, 233, 280, 334, 397, 475, 559, 663, 784, 924, 1085, 1279, 1494, 1751, 2049, 2392, 2784, 3248, 3769, 4382, 5081, 5887, 6808, 7879, 9087, 10486, 12083, 13910, 15988, 18384
Offset: 1
Examples
a(9) counts these 5 partitions: 612, 513, 414, 423, 312121.
Programs
-
Mathematica
z = 75; Table[Count[IntegerPartitions[n], p_ /; 2 Count[p, Min[p]] == Length[p] - 1], {n, 1, z}] (* A239510 *) Table[Count[IntegerPartitions[n], p_ /; 2 Count[p, 2 Min[p]] == Length[p] - 1], {n, 1, z}] (* A239511 *) Table[Count[IntegerPartitions[n], p_ /; 2 Count[p, Max[p]] == Length[p] - 1], {n, 1, z}] (* A237828 *) Table[Count[Rest[IntegerPartitions[n]], p_ /; 2 Count[p, Length[p]] == Length[p] - 1], {n, 1, z}] (* A239513 *) Table[Count[Rest[IntegerPartitions[n]], p_ /; 2 Count[p, Max[p] - Min[p]] == Length[p] - 1], {n, 1, z}] (* A239514 *)
Comments