The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A116848 Number of permutations of length n which avoid the patterns 231, 51234. 1
1, 2, 5, 14, 41, 119, 336, 927, 2527, 6870, 18717, 51155, 140120, 384147, 1053147, 2886182, 7906953, 21657679, 59318944, 162475127, 445041287, 1219069014, 3339354501, 9147387195, 25057021032, 68637206987, 188013260835, 515011570790, 1410735630289 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: x*(1 - 4*x + 7*x^2 - 5*x^3 + 3*x^4) / (1 - 6*x + 14*x^2 - 17*x^3 + 10*x^4 - 4*x^5).
a(n) = 6*a(n-1) - 14*a(n-2) + 17*a(n-3) - 10*a(n-4) + 4*a(n-5) for n>5. - Colin Barker, Nov 01 2017
PROG
(PARI) Vec(x*(1 - 4*x + 7*x^2 - 5*x^3 + 3*x^4) / (1 - 6*x + 14*x^2 - 17*x^3 + 10*x^4 - 4*x^5) + O(x^40)) \\ Colin Barker, Nov 01 2017
CROSSREFS
Sequence in context: A038989 A116850 A116847 * A370800 A122055 A244885
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 June 9 05:56 EDT 2024. Contains 373227 sequences. (Running on oeis4.)