A239729 Number of partitions p of n such that if h = min(p), then h is an (h,2)-separator of p; see Comments.
1, 1, 1, 2, 2, 2, 4, 4, 5, 7, 8, 10, 14, 16, 19, 25, 31, 36, 47, 55, 67, 83, 99, 119, 146, 173, 208, 250, 298, 352, 424, 500, 593, 703, 829, 974, 1154, 1350, 1585, 1859, 2175, 2537, 2968, 3452, 4019, 4672, 5425, 6283, 7290, 8421, 9735, 11240, 12962, 14921
Offset: 1
Examples
a(9) counts these 5 partitions: 612, 513, 414, 423, 31212.
Programs
-
Mathematica
z = 75; Table[Count[IntegerPartitions[n], p_ /; 2 Count[p, Min[p]] == Length[p] + 1], {n, 1, z}] (* A239729 *) Table[Count[IntegerPartitions[n], p_ /; 2 Count[p, 2 Min[p]] == Length[p] + 1], {n, 1, z}] (* A239481 *) Table[Count[Rest[IntegerPartitions[n]], p_ /; 2 Count[p, Max[p]] == Length[p] + 1], {n, 1, z}] (* A239456 *) Table[Count[Rest[IntegerPartitions[n]], p_ /; 2 Count[p, Length[p]] == Length[p] + 1], {n, 1, z}] (* A239499 *) Table[Count[IntegerPartitions[n], p_ /; 2 Count[p, Max[p] - Min[p]] == Length[p] + 1], {n, 1, z}] (*A239689 *)
Comments