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.

Original entry on oeis.org

135135, 76769280, 10623587400, 869421477888, 53506915544340, 2760751748210688, 126815221020754440, 5382400437244477440, 216344464203055466790, 8377766827724961054720, 316434243063274830653400, 11764325342293663024742400, 433465553417224967969040900
Offset: 15

Views

Author

Alois P. Heinz, Oct 28 2015

Keywords

Crossrefs

Column k=7 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, 8)
        end:
    a:= n-> coeff(b(n, 0$2), x, 7):
    seq(a(n), n=15..35);

Formula

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