A325648 Number of separable partitions of n in which the number of distinct (repeatable) parts is 4.
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 5, 10, 19, 28, 48, 69, 102, 138, 190, 254, 331, 420, 534, 662, 818, 1003, 1192, 1438, 1700, 2011, 2334, 2746, 3127, 3625, 4132, 4728, 5311, 6066, 6737, 7624, 8446, 9476, 10437, 11648, 12731, 14133, 15421, 16991, 18461, 20286
Offset: 1
Examples
a(11) counts these 2 partitions: [4,1,3,2,1], [3,2,1,2,1,2].
Programs
-
Mathematica
(separable=Table[Map[#[[1]]&,Select[Map[{#,Quotient[(1+Length[#]),Max[Map[Length,Split[#]]]]}&,IntegerPartitions[nn]],#[[2]]>1&]],{nn,35}]); Map[Length[Select[Map[{#,Length[Union[#]]}&,#],#[[2]]==4&]]&,separable] (* Peter J. C. Moses, May 08 2019 *)
Comments