cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A263892 Number of permutations of [n] containing exactly eight occurrences of the consecutive pattern 132.

This page as a plain text file.
%I A263892 #5 Oct 31 2015 14:12:13
%S A263892 2027025,2266145280,467264653965,52135907088384,4183054629844995,
%T A263892 273302114875729920,15559739185621805235,804731991294567628800,
%U A263892 38866311953961514404975,1787021214083758837555200,79318135487882387789779275,3434027248121360673543782400
%N A263892 Number of permutations of [n] containing exactly eight occurrences of the consecutive pattern 132.
%H A263892 Alois P. Heinz, <a href="/A263892/b263892.txt">Table of n, a(n) for n = 17..100</a>
%F A263892 a(n) = A197365(n,8).
%p A263892 b:= proc(u, o, t) option remember; series(`if`(u+o=0, 1,
%p A263892       add(b(u-j, o+j-1, 0)*`if`(j<=t, x, 1), j=1..u)+
%p A263892       add(b(u+j-1, o-j, j-1), j=1..o)), x, 9)
%p A263892     end:
%p A263892 a:= n-> coeff(b(n, 0$2), x, 8):
%p A263892 seq(a(n), n=17..35);
%Y A263892 Column k=8 of A197365.
%K A263892 nonn
%O A263892 17,1
%A A263892 _Alois P. Heinz_, Oct 28 2015