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.

A229888 Number of 7 up, 7 down permutations of [n].

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 36, 120, 330, 792, 1716, 3432, 48477, 368797, 2002429, 8685469, 31964725, 103593205, 303129685, 6156709438, 66139517554, 498859498016, 2961422519550, 14715247475500, 63593705003400, 245316996896400, 6498850067259615
Offset: 0

Views

Author

Alois P. Heinz, Oct 02 2013

Keywords

Examples

			a(8) = 1: 12345678.
a(9) = 8: 123456798, 123456897, 123457896, 123467895, 123567894, 124567893, 134567892, 234567891.
		

Crossrefs

Column k=7 of A229892.

Programs

  • Maple
    b:= proc(u, o, t) option remember; `if`(u+o=0, 1, add(`if`(t=7,
           b(o-j, u+j-1, 1), b(u+j-1, o-j, t+1)), j=1..o))
        end:
    a:= n-> b(0, n, 0):
    seq(a(n), n=0..35);