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.

A263891 Number of permutations of [n] containing exactly seven occurrences of the consecutive pattern 132.

This page as a plain text file.
%I A263891 #5 Oct 30 2015 23:41:15
%S A263891 135135,76769280,10623587400,869421477888,53506915544340,
%T A263891 2760751748210688,126815221020754440,5382400437244477440,
%U A263891 216344464203055466790,8377766827724961054720,316434243063274830653400,11764325342293663024742400,433465553417224967969040900
%N A263891 Number of permutations of [n] containing exactly seven occurrences of the consecutive pattern 132.
%H A263891 Alois P. Heinz, <a href="/A263891/b263891.txt">Table of n, a(n) for n = 15..100</a>
%F A263891 a(n) = A197365(n,7).
%p A263891 b:= proc(u, o, t) option remember; series(`if`(u+o=0, 1,
%p A263891       add(b(u-j, o+j-1, 0)*`if`(j<=t, x, 1), j=1..u)+
%p A263891       add(b(u+j-1, o-j, j-1), j=1..o)), x, 8)
%p A263891     end:
%p A263891 a:= n-> coeff(b(n, 0$2), x, 7):
%p A263891 seq(a(n), n=15..35);
%Y A263891 Column k=7 of A197365.
%K A263891 nonn
%O A263891 15,1
%A A263891 _Alois P. Heinz_, Oct 28 2015