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.

A086856 Triangle read by rows: T(n,k) = one-half number of permutations of length n with exactly k rising or falling successions, for n >= 1, 0 <= k <= n-1. T(1,0) = 1 by convention.

Table of values

n a(n)
1 1
2 0
3 1
4 0
5 2
6 1
7 1
8 5
9 5
10 1
11 7
12 20
13 24
14 8
15 1
16 45
17 115
18 128
19 60
20 11
21 1
22 323
23 790
24 835
25 444
26 113
27 14
28 1
29 2621
30 6217
31 6423
32 3599
33 1099
34 183
35 17
36 1
37 23811
38 55160
39 56410
40 32484
41 11060
42 2224
43 270
44 20
45 1
46 239653
47 545135
48 554306
49 325322
50 118484
51 27152
52 3950
53 374
54 23
55 1
56 2648395

List of values

[1, 0, 1, 0, 2, 1, 1, 5, 5, 1, 7, 20, 24, 8, 1, 45, 115, 128, 60, 11, 1, 323, 790, 835, 444, 113, 14, 1, 2621, 6217, 6423, 3599, 1099, 183, 17, 1, 23811, 55160, 56410, 32484, 11060, 2224, 270, 20, 1, 239653, 545135, 554306, 325322, 118484, 27152, 3950, 374, 23, 1, 2648395]