VOOZH about

URL: https://oeis.org/A389735

⇱ A389735 - OEIS


login
A389735
Standard composition numbers of integer compositions that do not comprise a finite arithmetic progression.
13
11, 13, 14, 19, 21, 22, 23, 25, 26, 27, 28, 29, 30, 35, 38, 39, 41, 43, 44, 45, 46, 47, 49, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 67, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100
OFFSET
1,1
COMMENTS
A finite arithmetic progression is a sequence with all equal first differences.
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
The terms together with corresponding standard compositions begin:
11: (2,1,1)
13: (1,2,1)
14: (1,1,2)
19: (3,1,1)
21: (2,2,1)
22: (2,1,2)
23: (2,1,1,1)
25: (1,3,1)
26: (1,2,2)
27: (1,2,1,1)
28: (1,1,3)
29: (1,1,2,1)
30: (1,1,1,2)
35: (4,1,1)
38: (3,1,2)
39: (3,1,1,1)
41: (2,3,1)
43: (2,2,1,1)
44: (2,1,3)
45: (2,1,2,1)
46: (2,1,1,2)
47: (2,1,1,1,1)
MATHEMATICA
stc[n_]:=Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n, 2]], 1], 0]]//Reverse;
Select[Range[0, 100], !SameQ@@Differences[stc[#]]&]
CROSSREFS
For partitions instead of compositions we have complement of A325328.
For distinct instead of equal differences we have A389598, complement A389597.
The complement is A389731, counted by A175342.
The 0-prepended version is A389736, counted by A389742.
These compositions are counted by A389741.
A000120 gives length of standard compositions.
A011782 counts compositions.
A066099 lists compositions in standard order.
A070939 gives sum of standard compositions.
A124767 counts maximal runs in standard compositions, anti-runs A333381.
A358133 lists first differences of standard compositions, 0-prepended A389733.
Sequence in context: A111347 A026818 A385411 * A163140 A048596 A228709
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 14 2025
STATUS
approved