login
A289614
a(n) is the number of permutations of length n that avoid the pattern 321 and the mesh pattern (12, 283) or the same sequence for the mesh pattern (12, 433).
2
1, 1, 1, 2, 9, 34, 122, 417, 1416, 4846, 16778, 58766, 207990, 742876, 2674414, 9694817, 35357640, 129644758, 477638666, 1767263154, 6564120382, 24466266980, 91482563598, 343059613606, 1289904147278, 4861946401404, 18367353072102, 69533550915952, 263747951750306
OFFSET
0,4
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.
FORMULA
From Thomas Scheuerle, Dec 18 2025: (Start)
G.f.: -(-2*x^7 + 2*x^6 + 2*x^4 + 2*x^3 - x^2 + 2*x + sqrt(1 - 4*x)*(x - 1)^2 - 1)/(2*(x - 1)^2*x).
a(n) = C(n) - 2*n + 2, for n > 4, where C(n) is the Catalan number A000108.
a(n) = A289615(n) + A289616(n) - A289652(n).
a(n) = A289607(n) + A289610(n) - A289604(n). (End)
PROG
(PARI) listA(max_n) = my(x='x+O(x^max_n)); Vec(-(-2*x^7+2*x^6+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 18 2025
CROSSREFS
Cf. A000108.
Related to mesh patterns: A280891, A289446-A289453, A289587-A289616, A289652-A289654.
Sequence in context: A288958 A212348 A000524 * A120989 A280309 A382616
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 09 2017
EXTENSIONS
More terms, name and offset changed by Thomas Scheuerle, Dec 18 2025
STATUS
approved