The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A263889 Number of permutations of [n] containing exactly five occurrences of the consecutive pattern 132. 2

%I

%S 945,140160,8451954,354288384,12220104063,375886190592,10790720535960,

%T 297346489233408,8010916259737230,213667262746914816,

%U 5691371451612082740,152338392950319636480,4115775817227930936570,112602904310385883054080,3126998971137511212293880

%N Number of permutations of [n] containing exactly five occurrences of the consecutive pattern 132.

%H Alois P. Heinz, <a href="/A263889/b263889.txt">Table of n, a(n) for n = 11..100</a>

%F a(n) = A197365(n,5).

%p b:= proc(u, o, t) option remember; series(`if`(u+o=0, 1,

%p add(b(u-j, o+j-1, 0)*`if`(j<=t, x, 1), j=1..u)+

%p add(b(u+j-1, o-j, j-1), j=1..o)), x, 6)

%p end:

%p a:= n-> coeff(b(n, 0\$2), x, 5):

%p seq(a(n), n=11..35);

%Y Column k=5 of A197365.

%K nonn

%O 11,1

%A _Alois P. Heinz_, Oct 28 2015

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

Last modified June 16 20:29 EDT 2021. Contains 345068 sequences. (Running on oeis4.)