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”).

A263894
Number of permutations of [n] containing exactly ten occurrences of the consecutive pattern 132.
2
654729075, 2862426470400, 1296211708989225, 261264015391703040, 34500885158438507610, 3502077835791610920960, 297315399971212318577070, 22214713615158982916505600, 1510589164324758020706100635, 95690236900543163501872250880, 5743287914726512704740717709585
OFFSET
21,1
LINKS
FORMULA
a(n) = A197365(n,10).
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, 11)
end:
a:= n-> coeff(b(n, 0$2), x, 10):
seq(a(n), n=21..35);
CROSSREFS
Column k=10 of A197365.
Sequence in context: A271770 A290039 A289958 * A291550 A234071 A234795
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 28 2015
STATUS
approved