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.
By conjugation, also Heinz numbers of partitions whose greatest part appears at a middle position, namely k/2, (k+1)/2, or (k+2)/2, where k is the number of parts. These partitions have ranks A362622.
EXAMPLE
The terms together with their prime indices begin:
1: {} 16: {1,1,1,1} 36: {1,1,2,2}
2: {1} 17: {7} 37: {12}
3: {2} 18: {1,2,2} 41: {13}
4: {1,1} 19: {8} 43: {14}
5: {3} 21: {2,4} 45: {2,2,3}
6: {1,2} 23: {9} 47: {15}
7: {4} 24: {1,1,1,2} 48: {1,1,1,1,2}
8: {1,1,1} 25: {3,3} 49: {4,4}
9: {2,2} 27: {2,2,2} 53: {16}
11: {5} 29: {10} 54: {1,2,2,2}
12: {1,1,2} 31: {11} 55: {3,5}
13: {6} 32: {1,1,1,1,1} 59: {17}
15: {2,3} 35: {3,4} 61: {18}
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[100], 2*Min@@prix[#]>=Max@@prix[#]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 14 2023
STATUS
approved