A239470 Number of 4-separable partitions of n; see Comments.
0, 0, 0, 0, 1, 2, 2, 2, 3, 5, 6, 7, 8, 11, 13, 17, 19, 23, 27, 34, 40, 47, 55, 66, 77, 92, 106, 125, 145, 171, 198, 231, 266, 310, 358, 416, 477, 552, 633, 731, 838, 963, 1100, 1263, 1442, 1651, 1880, 2147, 2442, 2785, 3163, 3597, 4078, 4631, 5244, 5946
Offset: 1
Examples
(4,0)-separable partitions of 7: 241; (4,1)-separable partitions of 7: 43; (4,2)-separable partitions of 7: (none); 4-separable partitions of 7: 241, 43, so that a(7) = 2.
Programs
-
Mathematica
z = 55; t1 = -1 + Table[Count[IntegerPartitions[n], p_ /; Length[p] - 1 <= 2 Count[p, 1] <= Length[p] + 1], {n, 1, z}] (* A239467 *) t2 = -1 + Table[Count[IntegerPartitions[n], p_ /; Length[p] - 1 <= 2 Count[p, 2] <= Length[p] + 1], {n, 1, z}] (* A239468 *) t3 = -1 + Table[Count[IntegerPartitions[n], p_ /; Length[p] - 1 <= 2 Count[p, 3] <= Length[p] + 1], {n, 1, z}] (* A239469 *) t4 = -1 + Table[Count[IntegerPartitions[n], p_ /; Length[p] - 1 <= 2 Count[p, 4] <= Length[p] + 1], {n, 1, z}] (* A239470 *) t5 = -1 + Table[Count[IntegerPartitions[n], p_ /; Length[p] - 1 <= 2 Count[p, 5] <= Length[p] + 1], {n, 1, z}] (* A239472 *)
Comments