OFFSET
0,4
COMMENTS
a(n) is the number of permutations of length n that avoid the pattern 321 and the mesh pattern (12, 315) or the same sequence for the mesh patterns (12, 411), (12, 435), (12, 441). - Thomas Scheuerle, Dec 18 2025
LINKS
Christian Sievers, RFE Dec 2025: Mesh patterns avoiding 321, SeqFan thread.
Murray Tannock, Equivalence classes of mesh patterns with a dominating pattern, MSc Thesis, Reykjavik Univ., May 2016. See Appendix B2.
MATHEMATICA
Join[{1, 1, 1, 2, 11}, Array[CatalanNumber[#]-#&, 30, 5]] (* Paolo Xausa, Dec 08 2023 *)
PROG
(PARI) listA(max_n) = my(x='x+O(x^max_n)); Vec((2*x^7-4*x^6+4*x^5-2*x^4-2*x^3+x^2-2*x-sqrt(1-4*x)*(x-1)^2+1)/(2*(x-1)^2*x)) \\ Thomas Scheuerle, Dec 23 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 09 2017
EXTENSIONS
Offset changed by Thomas Scheuerle, Dec 18 2025
STATUS
approved
