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

 


A116800
Number of permutations of length n which avoid the patterns 1432, 2314, 3241.
1
1, 2, 6, 21, 72, 232, 712, 2116, 6155, 17629, 49893, 139851, 388899, 1074280, 2950885, 8066698, 21960083, 59566264, 161060160, 434269077, 1168017399, 3134554480, 8395344424, 22445226508, 59911148129, 159681826564, 425035944306, 1129976852988, 3000770763534
OFFSET
1,2
FORMULA
G.f.: x*(1 - 5*x + 10*x^2 - 7*x^3 + 3*x^4 - x^5) / ((1 - 3*x + x^2)*(1 - 4*x + 5*x^2 - 3*x^3)).
a(n) = 6*a(n-1) - 11*a(n-2) + 4*a(n-3) + 8*a(n-4) - 11*a(n-5) + 3*a(n-6) for n>6. - Colin Barker, Oct 23 2017
9*a(n) = 9*(A001906(n)+2*A001906(n+1)) -23*A027439(n) +35*A027439(n-1) -40*A027439(n-2), n>1. - R. J. Mathar, Jan 11 2024
MATHEMATICA
LinearRecurrence[{7, -18, 22, -14, 3}, {1, 2, 6, 21, 72, 232}, 30] (* Harvey P. Dale, Dec 20 2018 *)
PROG
(PARI) Vec(x*(1 - 5*x + 10*x^2 - 7*x^3 + 3*x^4 - x^5) / ((1 - 3*x + x^2)*(1 - 4*x + 5*x^2 - 3*x^3)) + O(x^30)) \\ Colin Barker, Oct 23 2017
CROSSREFS
Sequence in context: A116747 A116810 A294703 * A116758 A116838 A116836
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 21:47 EDT 2024. Contains 376140 sequences. (Running on oeis4.)