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.
Also Heinz number of the first differences of the distinct 0-prepended prime indices of n.
FORMULA
EXAMPLE
The terms together with their prime indices begin:
1: {} 2: {1} 31: {11} 38: {1,8}
2: {1} 17: {7} 2: {1} 47: {15}
3: {2} 4: {1,1} 15: {2,3} 4: {1,1}
2: {1} 19: {8} 26: {1,6} 7: {4}
5: {3} 6: {1,2} 10: {1,3} 6: {1,2}
4: {1,1} 9: {2,2} 4: {1,1} 33: {2,5}
7: {4} 14: {1,4} 37: {12} 22: {1,5}
2: {1} 23: {9} 34: {1,7} 53: {16}
3: {2} 4: {1,1} 21: {2,4} 4: {1,1}
6: {1,2} 5: {3} 6: {1,2} 15: {2,3}
11: {5} 22: {1,5} 41: {13} 10: {1,3}
4: {1,1} 3: {2} 12: {1,1,2} 39: {2,6}
13: {6} 10: {1,3} 43: {14} 46: {1,9}
10: {1,3} 29: {10} 14: {1,4} 59: {17}
6: {1,2} 8: {1,1,1} 6: {1,2} 8: {1,1,1}
MATHEMATICA
prix[n_]:=If[n==1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Table[Times@@Prime/@DeleteCases[Differences[Prepend[prix[n], 0]], 0], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 21 2025
STATUS
approved
