A358170 Heinz number of the partial sums of the n-th composition in standard order (A066099).
1, 2, 3, 6, 5, 15, 10, 30, 7, 35, 21, 105, 14, 70, 42, 210, 11, 77, 55, 385, 33, 231, 165, 1155, 22, 154, 110, 770, 66, 462, 330, 2310, 13, 143, 91, 1001, 65, 715, 455, 5005, 39, 429, 273, 3003, 195, 2145, 1365, 15015, 26, 286, 182, 2002, 130, 1430, 910, 10010
Offset: 0
Keywords
Examples
The terms together with their prime indices begin: 1: {} 2: {1} 3: {2} 6: {1,2} 5: {3} 15: {2,3} 10: {1,3} 30: {1,2,3} 7: {4} 35: {3,4} 21: {2,4} 105: {2,3,4} 14: {1,4} 70: {1,3,4} 42: {1,2,4} 210: {1,2,3,4}
Links
Crossrefs
Programs
-
Mathematica
stc[n_]:=Differences[Prepend[Join @@ Position[Reverse[IntegerDigits[n,2]],1],0]]//Reverse; Times@@Prime/@#&/@Table[Accumulate[stc[n]],{n,0,100}]
Comments