OFFSET
0,4
COMMENTS
a(n) is the number of permutations of length n that avoid the pattern 321 and the mesh pattern (12, 287) or the same sequence for the mesh patterns (12, 347), (12, 437), (12, 497). - 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, 3}, Array[CatalanNumber[#]-#&, 30, 4]] (* Paolo Xausa, Dec 08 2023 *)
PROG
(PARI) listA(max_n) = my(x='x+O(x^max_n)); Vec(-(-2*x^6+2*x^5+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
