A263894 Number of permutations of [n] containing exactly ten occurrences of the consecutive pattern 132.
654729075, 2862426470400, 1296211708989225, 261264015391703040, 34500885158438507610, 3502077835791610920960, 297315399971212318577070, 22214713615158982916505600, 1510589164324758020706100635, 95690236900543163501872250880, 5743287914726512704740717709585
Offset: 21
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 21..100
Crossrefs
Column k=10 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, 11) end: a:= n-> coeff(b(n, 0$2), x, 10): seq(a(n), n=21..35);
Formula
a(n) = A197365(n,10).