login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A263889
Number of permutations of [n] containing exactly five occurrences of the consecutive pattern 132.
2
945, 140160, 8451954, 354288384, 12220104063, 375886190592, 10790720535960, 297346489233408, 8010916259737230, 213667262746914816, 5691371451612082740, 152338392950319636480, 4115775817227930936570, 112602904310385883054080, 3126998971137511212293880
OFFSET
11,1
LINKS
FORMULA
a(n) = A197365(n,5).
MAPLE
b:= proc(u, o, t) option remember; series(`if`(u+o=0, 1,
add(b(u-j, o+j-1, 0)*`if`(j<=t, x, 1), j=1..u)+
add(b(u+j-1, o-j, j-1), j=1..o)), x, 6)
end:
a:= n-> coeff(b(n, 0$2), x, 5):
seq(a(n), n=11..35);
CROSSREFS
Column k=5 of A197365.
Sequence in context: A334975 A289953 A112491 * A133353 A322252 A351806
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 28 2015
STATUS
approved