OFFSET
1,2
COMMENTS
The Heinz number of a partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k). This gives a bijective correspondence between positive integers and integer partitions.
EXAMPLE
The prime indices of 96 are {1,1,1,1,1,2}, conjugate (6,1), disjoint family (4,2,1), so 96 is in the sequence.
The terms together with their prime indices begin:
1: {}
2: {1}
4: {1,1}
6: {1,2}
8: {1,1,1}
12: {1,1,2}
16: {1,1,1,1}
18: {1,2,2}
24: {1,1,1,2}
27: {2,2,2}
30: {1,2,3}
32: {1,1,1,1,1}
36: {1,1,2,2}
48: {1,1,1,1,2}
54: {1,2,2,2}
60: {1,1,2,3}
64: {1,1,1,1,1,1}
MATHEMATICA
pof[y_]:=Select[Join@@@Tuples[IntegerPartitions/@y], UnsameQ@@#&];
conj[y_]:=If[Length[y]==0, y, Table[Length[Select[y, #>=k&]], {k, 1, Max[y]}]];
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[100], pof[conj[prix[#]]]!={}&]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, May 23 2025
STATUS
approved
