A365658 Triangle read by rows where T(n,k) is the number of integer partitions of n with k distinct possible sums of nonempty submultisets.
1, 1, 1, 1, 0, 2, 1, 1, 1, 2, 1, 0, 2, 0, 4, 1, 1, 3, 0, 1, 5, 1, 0, 3, 0, 3, 0, 8, 1, 1, 3, 2, 2, 1, 2, 10, 1, 0, 5, 0, 3, 0, 5, 0, 16, 1, 1, 4, 0, 6, 2, 4, 2, 2, 20, 1, 0, 5, 0, 5, 0, 8, 0, 6, 0, 31, 1, 1, 6, 2, 3, 6, 6, 1, 4, 4, 4, 39, 1, 0, 6, 0, 6, 0, 12, 0, 8, 0, 13, 0, 55
Offset: 1
Examples
Triangle begins: 1 1 1 1 0 2 1 1 1 2 1 0 2 0 4 1 1 3 0 1 5 1 0 3 0 3 0 8 1 1 3 2 2 1 2 10 1 0 5 0 3 0 5 0 16 1 1 4 0 6 2 4 2 2 20 1 0 5 0 5 0 8 0 6 0 31 1 1 6 2 3 6 6 1 4 4 4 39 1 0 6 0 6 0 12 0 8 0 13 0 55 1 1 6 0 6 3 16 3 5 3 7 8 5 71
Links
- Robert Price, Table of n, a(n) for n = 1..300
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],Length[Union[Total/@Rest[Subsets[#]]]]==k&]],{n,10},{k,n}]
Comments