login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A116775 Number of permutations of length n which avoid the patterns 1234, 2341, 4132. 1
1, 2, 6, 21, 72, 221, 605, 1517, 3574, 8065, 17671, 37953, 80424, 168885, 352481, 732581, 1518074, 3139033, 6480187, 13360153, 27514476, 56610861, 116377941, 239059421, 490715582, 1006612721, 2063574895, 4227833137, 8657015344, 17716708965, 36238752201 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
D. Callan, T. Mansour, Enumeration of small Wilf classes avoiding 1324 and two other 4-letter patterns, arXiv:1705.00933 (2017), Table 2 No 42.
FORMULA
G.f.: x*(1 - 6*x + 16*x^2 - 19*x^3 + 13*x^4 - 11*x^5 - 5*x^6 + 4*x^7) / ((1 - x)^4*(1 - 2*x)^2).
From Colin Barker, Oct 06 2017: (Start)
a(n) = (6*(-44+21*2^n) + (-56+9*2^n)*n + 12*n^2 - 28*n^3) / 24 for n>2.
a(n) = 8*a(n-1) - 26*a(n-2) + 44*a(n-3) - 41*a(n-4) + 20*a(n-5) - 4*a(n-6) for n>8.
(End)
PROG
(PARI) Vec(x*(1 - 6*x + 16*x^2 - 19*x^3 + 13*x^4 - 11*x^5 - 5*x^6 + 4*x^7) / ((1 - x)^4*(1 - 2*x)^2) + O(x^50)) \\ Colin Barker, Oct 06 2017
CROSSREFS
Sequence in context: A294754 A116750 A116791 * A116786 A116748 A116812
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)