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.

A263890 Number of permutations of [n] containing exactly six occurrences of the consecutive pattern 132.

This page as a plain text file.
%I A263890 #5 Oct 30 2015 22:52:22
%S A263890 10395,3012480,277327917,16406489088,763149164940,30667267344384,
%T A263890 1122292869796980,38645459934584832,1279503424901535750,
%U A263890 41344577034084495360,1317786118947932739210,41752272883943166935040,1322547105675938413149900,42063243395064705257472000
%N A263890 Number of permutations of [n] containing exactly six occurrences of the consecutive pattern 132.
%H A263890 Alois P. Heinz, <a href="/A263890/b263890.txt">Table of n, a(n) for n = 13..100</a>
%F A263890 a(n) = A197365(n,6).
%p A263890 b:= proc(u, o, t) option remember; series(`if`(u+o=0, 1,
%p A263890       add(b(u-j, o+j-1, 0)*`if`(j<=t, x, 1), j=1..u)+
%p A263890       add(b(u+j-1, o-j, j-1), j=1..o)), x, 7)
%p A263890     end:
%p A263890 a:= n-> coeff(b(n, 0$2), x, 6):
%p A263890 seq(a(n), n=13..35);
%Y A263890 Column k=6 of A197365.
%K A263890 nonn
%O A263890 13,1
%A A263890 _Alois P. Heinz_, Oct 28 2015