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

A263891
Number of permutations of [n] containing exactly seven occurrences of the consecutive pattern 132.
2
135135, 76769280, 10623587400, 869421477888, 53506915544340, 2760751748210688, 126815221020754440, 5382400437244477440, 216344464203055466790, 8377766827724961054720, 316434243063274830653400, 11764325342293663024742400, 433465553417224967969040900
OFFSET
15,1
LINKS
FORMULA
a(n) = A197365(n,7).
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, 8)
end:
a:= n-> coeff(b(n, 0$2), x, 7):
seq(a(n), n=15..35);
CROSSREFS
Column k=7 of A197365.
Sequence in context: A104440 A290036 A289955 * A360662 A235209 A183734
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 28 2015
STATUS
approved