OFFSET
0,2
COMMENTS
The k-th composition in standard order (graded reverse-lexicographic, A066099) is obtained by taking the set of positions of 1's in the reversed binary expansion of k, prepending 0, taking first differences, and reversing again. This gives a bijective correspondence between nonnegative integers and integer compositions.
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.
LINKS
EXAMPLE
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}
MATHEMATICA
stc[n_]:=Differences[Prepend[Join @@ Position[Reverse[IntegerDigits[n, 2]], 1], 0]]//Reverse;
Times@@Prime/@#&/@Table[Accumulate[stc[n]], {n, 0, 100}]
CROSSREFS
See link for sequences related to standard compositions.
The image is A005117 (squarefree numbers).
Least prime index of a(n) is A065120.
These are the Heinz numbers of the rows of A358134.
Sum of prime indices of a(n) is A359042.
A066099 lists standard compositions.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 20 2022
STATUS
approved