OFFSET
1,1
COMMENTS
The first sums of a nonempty sequence (a, b, c, d, ...) are (a+b, b+c, c+d, ...).
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.
EXAMPLE
For n = 68, the composition (4,3) is the first sums of (2,2,1) and (3,1,2), so 68 is not in the sequence.
For n = 164, composition (2,3,3) is the first sums of (1,1,2,1) only, so 164 is in the sequence.
The terms together with standard compositions begin:
2: (2)
10: (2,2)
18: (3,2)
20: (2,3)
34: (4,2)
40: (2,4)
42: (2,2,2)
66: (5,2)
74: (3,2,2)
80: (2,5)
84: (2,2,3)
130: (6,2)
138: (4,2,2)
146: (3,3,2)
148: (3,2,3)
160: (2,6)
164: (2,3,3)
168: (2,2,4)
170: (2,2,2,2)
MATHEMATICA
stc[n_]:=Differences[Prepend[Join @@ Position[Reverse[IntegerDigits[n, 2]], 1], 0]]//Reverse;
uncha[tar_, ini_]:=(cur={ini}; Do[AppendTo[cur, tar[[k]]-If[k==1, ini, cur[[k]]]], {k, Length[tar]}]; cur);
Select[Range[100], Length[Select[Table[uncha[stc[#], i], {i, Max[stc[#]]}], Min@@#>=1&]]==1&]
CROSSREFS
These indicate terms appearing only once in A390568.
These are positions of 1 in the pre-bisected A390675.
A011782 counts compositions.
A066099 lists all compositions in standard order.
A357213 counts compositions by sum of first sums.
A390432 lists first sums of standard compositions.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 22 2025
STATUS
approved
