OFFSET
1,4
COMMENTS
The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).
EXAMPLE
The a(60) = 7 split partitions:
(3)(2)(1)(1)
(32)(1)(1)
(3)(21)(1)
(3)(2)(11)
(321)(1)
(32)(11)
(3211)
MATHEMATICA
comps[q_]:=Table[Table[Take[q, {Total[Take[c, i-1]]+1, Total[Take[c, i]]}], {i, Length[c]}], {c, Join@@Permutations/@IntegerPartitions[Length[q]]}];
Table[Length[Select[compositionPartitions[If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]]], OrderedQ[Total/@#]&]], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 29 2018
STATUS
approved