This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A335485 #14 Nov 30 2022 11:57:31 %S A335485 6,12,13,14,20,22,24,25,26,27,28,29,30,38,40,41,44,45,46,48,49,50,51, %T A335485 52,53,54,55,56,57,58,59,60,61,62,70,72,76,77,78,80,81,82,83,84,86,88, %U A335485 89,90,91,92,93,94,96,97,98,99,100,101,102,103,104,105,106 %N A335485 Numbers k such that the k-th composition in standard order (A066099) is not weakly decreasing. %C A335485 Also compositions matching the pattern (1,2). %C A335485 A composition of n is a finite sequence of positive integers summing to n. 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. %H A335485 Keiichi Shigechi, <a href="https://arxiv.org/abs/2211.10958">Noncommutative crossing partitions</a>, arXiv:2211.10958 [math.CO], 2022. %H A335485 Wikipedia, <a href="https://en.wikipedia.org/wiki/Permutation_pattern">Permutation pattern</a> %H A335485 Gus Wiseman, <a href="https://oeis.org/A102726/a102726.txt">Sequences counting and ranking compositions by the patterns they match or avoid.</a> %H A335485 Gus Wiseman, <a href="https://docs.google.com/document/d/e/2PACX-1vTCPiJVFUXN8IqfLlCXkgP15yrGWeRhFS4ozST5oA4Bl2PYS-XTA3sGsAEXvwW-B0ealpD8qnoxFqN3/pub">Statistics, classes, and transformations of standard compositions</a> %e A335485 The sequence of terms together with the corresponding compositions begins: %e A335485 6: (1,2) %e A335485 12: (1,3) %e A335485 13: (1,2,1) %e A335485 14: (1,1,2) %e A335485 20: (2,3) %e A335485 22: (2,1,2) %e A335485 24: (1,4) %e A335485 25: (1,3,1) %e A335485 26: (1,2,2) %e A335485 27: (1,2,1,1) %e A335485 28: (1,1,3) %e A335485 29: (1,1,2,1) %e A335485 30: (1,1,1,2) %e A335485 38: (3,1,2) %e A335485 40: (2,4) %t A335485 stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]]; %t A335485 Select[Range[0,100],MatchQ[stc[#],{___,x_,___,y_,___}/;x<y]&] %Y A335485 The complement A114994 is the avoiding version. %Y A335485 The (2,1)-matching version is A335486. %Y A335485 Patterns matching this pattern are counted by A002051 (by length). %Y A335485 Permutations of prime indices matching this pattern are counted by A335447. %Y A335485 These compositions are counted by A056823 (by sum). %Y A335485 Constant patterns are counted by A000005 and ranked by A272919. %Y A335485 Permutations are counted by A000142 and ranked by A333218. %Y A335485 Patterns are counted by A000670 and ranked by A333217. %Y A335485 Non-unimodal compositions are counted by A115981 and ranked by A335373. %Y A335485 Combinatory separations are counted by A269134. %Y A335485 Patterns matched by standard compositions are counted by A335454. %Y A335485 Minimal patterns avoided by a standard composition are counted by A335465. %Y A335485 Cf. A034691, A056986, A108917, A114994, A238279, A333224, A333257, A335456, A335458. %K A335485 nonn %O A335485 1,1 %A A335485 _Gus Wiseman_, Jun 18 2020