A349799 Numbers k such that the k-th composition in standard order is weakly alternating but has at least two adjacent equal parts.
3, 7, 10, 11, 14, 15, 19, 21, 23, 26, 27, 28, 29, 30, 31, 35, 36, 39, 42, 43, 47, 51, 55, 56, 57, 58, 59, 60, 61, 62, 63, 67, 71, 73, 74, 79, 83, 84, 85, 86, 87, 90, 91, 94, 95, 99, 100, 103, 106, 111, 112, 113, 114, 115, 118, 119, 120, 121, 122, 123, 124, 125
Offset: 1
Keywords
Examples
The terms and corresponding compositions begin: 3: (1,1) 7: (1,1,1) 10: (2,2) 11: (2,1,1) 14: (1,1,2) 15: (1,1,1,1) 19: (3,1,1) 21: (2,2,1) 23: (2,1,1,1) 26: (1,2,2) 27: (1,2,1,1) 28: (1,1,3) 29: (1,1,2,1) 30: (1,1,1,2) 31: (1,1,1,1,1)
Links
- Wikipedia, Alternating permutation
Comments