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.

A263894 Number of permutations of [n] containing exactly ten occurrences of the consecutive pattern 132.

This page as a plain text file.
%I A263894 #5 Oct 31 2015 15:33:14
%S A263894 654729075,2862426470400,1296211708989225,261264015391703040,
%T A263894 34500885158438507610,3502077835791610920960,297315399971212318577070,
%U A263894 22214713615158982916505600,1510589164324758020706100635,95690236900543163501872250880,5743287914726512704740717709585
%N A263894 Number of permutations of [n] containing exactly ten occurrences of the consecutive pattern 132.
%H A263894 Alois P. Heinz, <a href="/A263894/b263894.txt">Table of n, a(n) for n = 21..100</a>
%F A263894 a(n) = A197365(n,10).
%p A263894 b:= proc(u, o, t) option remember; series(`if`(u+o=0, 1,
%p A263894       add(b(u-j, o+j-1, 0)*`if`(j<=t, x, 1), j=1..u)+
%p A263894       add(b(u+j-1, o-j, j-1), j=1..o)), x, 11)
%p A263894     end:
%p A263894 a:= n-> coeff(b(n, 0$2), x, 10):
%p A263894 seq(a(n), n=21..35);
%Y A263894 Column k=10 of A197365.
%K A263894 nonn
%O A263894 21,1
%A A263894 _Alois P. Heinz_, Oct 28 2015