OFFSET
0,4
COMMENTS
Also the number of integer partitions of n whose Heinz number belongs to A382075 (can be written as a product of squarefree numbers with distinct sums of prime indices).
EXAMPLE
There are 6 ways to partition (3,2,2,1) into sets:
{{2},{1,2,3}}
{{1,2},{2,3}}
{{1},{2},{2,3}}
{{2},{2},{1,3}}
{{2},{3},{1,2}}
{{1},{2},{2},{3}}
Of these, 3 have distinct block sums:
{{2},{1,2,3}}
{{1,2},{2,3}}
{{1},{2},{2,3}}
so (3,2,2,1) is counted under a(8).
The a(1) = 1 through a(8) = 13 partitions:
(1) (2) (3) (4) (5) (6) (7) (8)
(2,1) (3,1) (3,2) (4,2) (4,3) (5,3)
(2,1,1) (4,1) (5,1) (5,2) (6,2)
(2,2,1) (3,2,1) (6,1) (7,1)
(3,1,1) (4,1,1) (3,2,2) (3,3,2)
(2,2,1,1) (3,3,1) (4,2,2)
(4,2,1) (4,3,1)
(5,1,1) (5,2,1)
(3,2,1,1) (6,1,1)
(3,2,2,1)
(3,3,1,1)
(4,2,1,1)
(3,2,1,1,1)
MATHEMATICA
sps[{}]:={{}}; sps[set:{i_, ___}]:=Join@@Function[s, Prepend[#, s]& /@ sps[Complement[set, s]]]/@Cases[Subsets[set], {i, ___}];
mps[set_]:=Union[Sort[Sort/@(#/.x_Integer:>set[[x]])]&/@sps[Range[Length[set]]]];
Table[Length[Select[IntegerPartitions[n], Length[Select[mps[#], And@@UnsameQ@@@#&&UnsameQ@@Total/@#&]]>0&]], {n, 0, 10}]
CROSSREFS
Twice-partitions of this type are counted by A279785.
These partitions are ranked by A382075.
For a unique choice we have A382079.
A050320 counts multiset partitions of prime indices into sets.
A050326 counts multiset partitions of prime indices into distinct sets.
A265947 counts refinement-ordered pairs of integer partitions.
A382201 lists MM-numbers of sets with distinct sums.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 16 2025
EXTENSIONS
a(21)-a(50) from Bert Dobbelaere, Mar 29 2025
STATUS
approved
