A263891 Number of permutations of [n] containing exactly seven occurrences of the consecutive pattern 132.
135135, 76769280, 10623587400, 869421477888, 53506915544340, 2760751748210688, 126815221020754440, 5382400437244477440, 216344464203055466790, 8377766827724961054720, 316434243063274830653400, 11764325342293663024742400, 433465553417224967969040900
Offset: 15
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 15..100
Crossrefs
Column k=7 of A197365.
Programs
-
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);
Formula
a(n) = A197365(n,7).