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.

A263893 Number of permutations of [n] containing exactly nine occurrences of the consecutive pattern 132.

This page as a plain text file.
%I A263893 #5 Oct 31 2015 14:52:41
%S A263893 34459425,76077066240,23268095463150,3502499376844800,
%T A263893 362160710593122645,29628651314310266880,2068889029242559281900,
%U A263893 129136429755219072614400,7428565762326237479436675,402305799817247440225075200,20831246409166627215418935750
%N A263893 Number of permutations of [n] containing exactly nine occurrences of the consecutive pattern 132.
%H A263893 Alois P. Heinz, <a href="/A263893/b263893.txt">Table of n, a(n) for n = 19..100</a>
%F A263893 a(n) = A197365(n,9).
%p A263893 b:= proc(u, o, t) option remember; series(`if`(u+o=0, 1,
%p A263893       add(b(u-j, o+j-1, 0)*`if`(j<=t, x, 1), j=1..u)+
%p A263893       add(b(u+j-1, o-j, j-1), j=1..o)), x, 10)
%p A263893     end:
%p A263893 a:= n-> coeff(b(n, 0$2), x, 9):
%p A263893 seq(a(n), n=19..35);
%Y A263893 Column k=9 of A197365.
%K A263893 nonn
%O A263893 19,1
%A A263893 _Alois P. Heinz_, Oct 28 2015