[go: up one dir, main page]

login
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