OFFSET
0,4
COMMENTS
a(n) is the number of permutations of length n that avoid the pattern 321 and the mesh pattern (12, 379) or the same sequence for the mesh patterns (12, 415), (12, 445), (12, 499). - 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}, CatalanNumber[Range[3, 30]]-2] (* Paolo Xausa, Dec 08 2023 *)
PROG
(PARI) listA(max_n) = my(x='x+O(x^max_n)); Vec((2*x^4+2*x^3-sqrt(1-4*x)*x+x+sqrt(1-4*x)-1)/(2*(x-1)*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
