OFFSET
1,8
COMMENTS
LINKS
Robert Price, Table of n, a(n) for n = 1..1000
EXAMPLE
The a(432) = 3 multiset partitions:
{{2,2,2},{1,1,1,1}}
{{1},{1,1,1},{2,2,2}}
{{1},{2},{2,2},{1,1,1}}
Note {{2},{2,2},{1,1,1,1}} is not included, as it does not have distinct block-sums.
MATHEMATICA
hwt[n_]:=Total[Cases[FactorInteger[n], {p_, k_}:>PrimePi[p]*k]];
pfacs[n_]:=If[n<=1, {{}}, Join@@Table[(Prepend[#, d]&)/@Select[pfacs[n/d], Min@@#>=d&], {d, Select[Rest[Divisors[n]], PrimePowerQ]}]];
Table[Length[Select[pfacs[n], UnsameQ@@hwt/@#&]], {n, 100}]
CROSSREFS
Positions of 0 are A381636.
Taking block-sums (and sorting) gives A381716.
Other multiset partitions of prime indices:
A003963 gives product of prime indices.
A265947 counts refinement-ordered pairs of integer partitions.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 09 2025
STATUS
approved
