A381431 Heinz number of the section-sum partition of the prime indices of n.
1, 2, 3, 4, 5, 5, 7, 8, 9, 7, 11, 10, 13, 11, 11, 16, 17, 15, 19, 14, 13, 13, 23, 20, 25, 17, 27, 22, 29, 13, 31, 32, 17, 19, 17, 25, 37, 23, 19, 28, 41, 17, 43, 26, 33, 29, 47, 40, 49, 35, 23, 34, 53, 45, 19, 44, 29, 31, 59, 26, 61, 37, 39, 64, 23, 19, 67, 38
Offset: 1
Keywords
Examples
Prime indices of 180 are (3,2,2,1,1), with section-sum partition (6,3), so a(180) = 65. The terms together with their prime indices begin: 1: {} 2: {1} 3: {2} 4: {1,1} 5: {3} 5: {3} 7: {4} 8: {1,1,1} 9: {2,2} 7: {4} 11: {5} 10: {1,3} 13: {6} 11: {5} 11: {5} 16: {1,1,1,1}
Crossrefs
Programs
-
Mathematica
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; egs[y_]:=If[y=={},{},Table[Total[Select[Union[y],Count[y,#]>=i&]],{i,Max@@Length/@Split[y]}]]; Table[Times@@Prime/@egs[prix[n]],{n,100}]
Comments