close
login
A289606
a(n) is the number of permutations of length n that avoid the pattern 321 and the mesh pattern (12, 275) or the same sequence for the mesh patterns (12, 281), (12, 305), (12, 401).
1
1, 1, 1, 1, 7, 25, 102, 377, 1339, 4699, 16496, 58220, 206923, 740775, 2670254, 9686549, 35341167, 129611887, 477573012, 1767131948, 6563858087, 24465742523, 91481514834, 343057516246, 1289899952745, 4861938012545, 18367336294612, 69533517361222, 263747884641119
OFFSET
0,5
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.: -(-8*x^9 + 28*x^8 - 36*x^7 + 22*x^6 - 8*x^5 - 4*x^4 + 9*x^3 - 9*x^2 + sqrt(1 - 4*x)*(2*x^4 - 7*x^3 + 9*x^2 - 5*x + 1) + 5*x - 1)/(2*(x - 1)^3*x*(2*x - 1)).
a(n) = A289607(n) - A289610(n) + A289608(n). (End)
PROG
(PARI) listA(max_n) = my(x='x+O(x^max_n)); Vec(-(-8*x^9+28*x^8-36*x^7+22*x^6-8*x^5-4*x^4+9*x^3-9*x^2+sqrt(1-4*x)*(2*x^4-7*x^3+9*x^2-5*x+1)+5*x-1)/(2*(x-1)^3*x*(2*x-1))) \\ Thomas Scheuerle, Dec 18 2025
CROSSREFS
Cf. A000108.
Related to mesh patterns: A280891, A289446-A289453, A289587-A289616, A289652-A289654.
Sequence in context: A332942 A247173 A141627 * A102900 A155271 A200152
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