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.

A263889 Number of permutations of [n] containing exactly five occurrences of the consecutive pattern 132.

Original entry on oeis.org

945, 140160, 8451954, 354288384, 12220104063, 375886190592, 10790720535960, 297346489233408, 8010916259737230, 213667262746914816, 5691371451612082740, 152338392950319636480, 4115775817227930936570, 112602904310385883054080, 3126998971137511212293880
Offset: 11

Views

Author

Alois P. Heinz, Oct 28 2015

Keywords

Crossrefs

Column k=5 of A197365.

Programs

  • Maple
    b:= proc(u, o, t) option remember; series(`if`(u+o=0, 1,
          add(b(u-j, o+j-1, 0)*`if`(j<=t, x, 1), j=1..u)+
          add(b(u+j-1, o-j, j-1), j=1..o)), x, 6)
        end:
    a:= n-> coeff(b(n, 0$2), x, 5):
    seq(a(n), n=11..35);

Formula

a(n) = A197365(n,5).