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 A137541 #19 Jul 10 2023 12:04:28 %S A137541 1,1,2,6,23,104,533,3027,18769,125687,901366,6876307,55498146, %T A137541 471743013,4207097145,39237139709 %N A137541 Number of permutations in S_n avoiding 1{bar 5}234 (i.e., every occurrence of 1234 is contained in an occurrence of a 15234). %C A137541 From _Lara Pudwell_, Oct 23 2008: (Start) %C A137541 A permutation p avoids a pattern q if it has no subsequence that is order-isomorphic to q. For example, p avoids the pattern 132 if it has no subsequence abc with a < c < b. %C A137541 Barred pattern avoidance considers permutations that avoid a pattern except in a special case. Given a barred pattern q, we may form two patterns, q1 = the sequence of unbarred letters of q and q2 = the sequence of all letters of q. %C A137541 A permutation p avoids barred pattern q if every instance of q1 in p is embedded in a copy of q2 in p. In other words, p avoids q1, except in the special case that a copy of q1 is a subsequence of a copy of q2. %C A137541 For example, if q = 5{bar 1}32{bar 4}, then q1 = 532 and q2 = 51324. p avoids q if every for decreasing subsequence acd of length 3 in p, one can find letters b and e so that the subsequence abcde of p has b < d < c < e < a. (End) %H A137541 Lara Pudwell, <a href="http://faculty.valpo.edu/lpudwell/papers/pudwell_thesis.pdf">Enumeration Schemes for Pattern-Avoiding Words and Permutations</a>, Ph. D. Dissertation, Math. Dept., Rutgers University, May 2008. %H A137541 Lara Pudwell, <a href="https://doi.org/10.37236/301">Enumeration schemes for permutations avoiding barred patterns</a>, El. J. Combinat. 17 (1) (2010) R29. %e A137541 See example in A137546. %Y A137541 Cf. A137546. %K A137541 nonn,more %O A137541 0,3 %A A137541 _Lara Pudwell_, Apr 25 2008 %E A137541 a(8)-(15) from _Lars Blomberg_, Jun 05 2018 %E A137541 a(0)=1 prepended by _Alois P. Heinz_, Jul 10 2023